iDevicesInc / SweetBlue

BLE on Android, the easy way. THIS IS NOW DEPRECATED. Please visit website for info on new versions.
https://sweetblue.io
GNU General Public License v3.0
357 stars 57 forks source link

startRssiPoll Not Working When BleDevice in BleDeviceState.DISCONNECTED. #416

Closed lorenzowoodridge closed 6 years ago

lorenzowoodridge commented 6 years ago

It is to my understanding that startRssiPoll can be called even when the BleDevice is in state BleDeviceState.DISCONNECTED because in the docs it says "TIP: You can call this method when the device is in any BleDeviceState, even BleDeviceState.DISCONNECTED." However when I try performing this poll when that device is in that state the callback is never called.

ryanhubbell commented 6 years ago

Thanks for the report. There's one caveat to that statement. A scan must be running for any RSSI values to come through the listener.

However, you're right that it's not working. We'll get it fixed in a future version.

lorenzowoodridge commented 6 years ago

Great, that is what I had assumed! Any estimate on a time frame for this bug fix?

lorenzowoodridge commented 6 years ago

Just checking the status on this. Do you have an ETA?

ryanhubbell commented 6 years ago

This was fixed in an earlier version.