03-11-2018 10:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

03-11-2018 10:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
right now the Android app wants to have location on all the time, since Google changed the Bluetooth subsystem and now scans require the Location permission. Fair enough.
But why does the Fitbit app have to use a scan all the time? During the initial setup, the Fitbit device gets paired with the phone. Therefore the Fitbit device should be in the list returned by getBondedDevices().
And once the right BluetoothDevice has been found from this list, just connectGatt to the device directly without Location permissions -- does this somehow not work?
It is one thing to just randomly scan BLE devices, and it is a completely different thing to connect to an already paired device. The Bluetooth stack already handles the advertisements and other things behind the scenes without the higher app layers having to specifically order a scan.

03-12-2018 15:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


03-12-2018 15:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi @Lermontov,
You ask an interesting but highly technical question, that only a Fitbit developer could answer, not anyone here.
Why questions are the most difficult to answer.
