Android Question Multiple heart rate devices

kreativa

Member
Licensed User
Hi everybody,
need help!
I wrote a procedure to read heart rate monitor, and it works!
Now i need to read multiple heart rate. When manager_dataAvaible is called i can read the characteristic with the heart rate measure from all the devices but i don't know the name of the device i'm reading.

How can i do to know the device name in manager_dataavaible?

Thanks!
 

kreativa

Member
Licensed User
The name is available in the DeviceFound event.
Ok I know,
but when DataAvaible event is called and i read the rate i don't know which device is sending data. Can a single manager handle 2 or more devices? or i have to use a single manager for every device?
 
Upvote 0

kreativa

Member
Licensed User
You need to use multiple managers. Each manager can only be connected to a single peripheral.
Ok thanks!
I used 2 managers but just the first manager rises the devicefound event! The other doen't work in my samsung tablet.
I installed the app in another device and it works properly
It's a bluetooth problem? maybe the version?
 
Upvote 0
Top