-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails getting RSSI on Android >=5.0 (Samsung Galaxies) #135
Comments
Thanks for your report! Actually, just today I bumped into a conversation on Nordic's forums, mentioning that Galaxy S6 has some bugs in the Android 5.0 BLE API (which we switched to in SDK 0.9.5) implementation:
(source: https://devzone.nordicsemi.com/question/51453/android-bluetooth-smart-properties/) As a temporary workaround, you can switch to SDK 0.9.4 … or, I think there's a flag you can set on our SDK to force it to use the old, Android 4 BLE API. (@Poberro knows more about it.) In the meantime, we'll see if/how we can address that. |
Can you try adding this line:
to your manifest file, inside the |
Hello guys, I've already triyed to add the line you suggested, but it didn't work. |
If the app doesn't show ANY beacons, then it looks like another issue. The problems we know about concern Samsung Galaxies on Android 5.0 or later, and result in incorrect RSSI readings. Double-check if you have Bluetooth on, Location on, try rebooting your devices. If the problem of not being able to detect beacons persists, please open another issue. (This one is for the RSSI problems.) |
- Packet parser errors are logged and should not crash whole application. - Fixed threading issue that cause scanning to continue when service was stopped (on some devices). - onExitRegion should be now working on devices with pre-Lollipop Androids. - Fixed (#135): Fails getting RSSI on Android >=5.0 (Samsung Galaxies) - Fixed (#137): IllegalStateException when starting monitoring on SDK 0.9.6
Fixed in SDK release version 0.9.7 |
- Packet parser errors are logged and should not crash whole application. - Fixed threading issue that cause scanning to continue when service was stopped (on some devices). - onExitRegion should be now working on devices with pre-Lollipop Androids. - Fixed (#135): Fails getting RSSI on Android >=5.0 (Samsung Galaxies) - Fixed (#137): IllegalStateException when starting monitoring on SDK 0.9.6
I have a very simple code like that (using you Airport tutorial):
When using Android < 5.0 (Galaxy S3 tested) I always get the right values for the ranged beacons:
Instead when using Android >= 5.0 (Galaxy S6 tested) after some success, I start to get not values like the following:
To get again right values, I have to switch off Bluetooth and let the application (com.estimote.apps.main) to request for Bluetooth turning-on again.
By the way the same behavior happens using only the app when scanning devices.
The text was updated successfully, but these errors were encountered: