adafruit / adafruit/Adafruit_CircuitPython_BLE

Can't use multiprocessing on the BLE connections to retrieve data from multipe devices at the same time

Open
#120 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
138
Forks
58
PR merge metrics
No merged PRs in 30d

Description

I have been trying to get data out from multiple pulse-oximeters at the same time. I was able to run them separately in two different environments and able to extract data from two pulse-oximeters at the same time. I tried to use multiprocessing after the BLE connection to retrieve data parallelly from two pulse-oximeters in the same environment, the connection is getting lost and data is no longer getting received. Then I removed multiprocessing to check whether the code is right and verified that the data is getting retrieved from the code.
How do I retrieve data from multiple BLE devices at the same time using multiprocessing with the library?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points and includes no reproduction code. Start by reproducing simultaneous BLE connections with and without multiprocessing, then document the supported approach and confirm that data remains available from both pulse-oximeters.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
embedded-iot
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.