Android Question BLE2 Manager not works on screen off

BCare Team

New Member
Hi, I need to know how I can continue to receive data from the bluetooth sensor even when the display is off.
I've read that you need to run the filter, but it doesn't work for me.
Can someone help me?
 

BCare Team

New Member
Thanks Erel for your reply, but I have already inserted what you suggest.
The problems are mainly two:
1) the manager.scan2() doesn't work if in the first parameter I put a uuid (among other things which uuid should I put if I have to scan beacons?)
2) if I press the power button once to turn off the screen, the scan stops

I read in the documentation that to continue scanning with the display off it is necessary, from version 8+, to run a filter, but what can I do if the filter doesn't work?

Thanks for your patience
 
Upvote 0

BCare Team

New Member
Thank you so much Erel, how can I make sure of this?
I tried to scan with the BLExample app and these are the exposed uuids:

00001801-0000-1000-8000-00805f9b34fb
00001800-0000-1000-8000-00805f9b34fb
0000180a-0000-1000-8000-00805f9b34fb
0000180f-0000-1000-8000-00805f9b34fb
a3c87500-8ed3-4bdf-8a39-a01bebede295
a3c88800-8ed3-4bdf-8a39-a01bebede295

but with none of these the command manager.scan2(uuid_list, true) seems to work.

It seems to never raise the "_deviceFound" callback.

Thanks for the help you want to give me
 
Upvote 0

BCare Team

New Member
I also contacted the manufacturer who confirmed that those are the published UUIDs, but unfortunately the filter doesn't work. I do not know what to do.
 
Upvote 0
Top