- changed status to open
Android Showcase app can't connect to firmware 2.2.0
- Mobile device model and OS version: Samsung Galaxy A54 5G
- Movesense mobile library version: 3.15.0
- Movesense firmware version: 2.2.0
- Movesense hardware version: OP174
- Reproduction steps:
Build any of the sample apps from Movesense-device-lib (I am on commit c9c12269314fc86bcbb7619ac08a1954a1d722e of that repo) and using the Docker image tag 2.2 ( Docker image hash 6d929a7684822e90009ef4224a508f14639a07515bd436eee3066848381c9403 ) and the Showcase app from the Movesense-mobile lib (commit hash c7cc4933823553d2ad3f67db458c507a633ab33d ). Trying to connect for online viewing (Movesense button in the Android showcase app) or go to the DFU section for firmware and selecting the firmware file and device and try to connect results in the following errors in Logcat and loss of functionality. The iOS showcase app works fine and shows the firmware version as 2.2.0 and data from the sensor firmware.
2023-12-13 16:12:36.229 7556-7874 Komposti com.movesense.showcaseapp I SDS::SyncBase poll response: {"Uri": "/net/214730001453/Info", "Content-Length": 0, "Reason": "REQUEST_TIMEOUT", "Status": 408}
2023-12-13 16:12:36.230 7556-7874 Komposti com.movesense.showcaseapp I [SDS REQUEST] type: PUT uri: sds://MDS/ConnectingDevices contract: {"Address": "10000001", "Serial": "214730001453", "State": "FailedToConnect"}
2023-12-13 16:12:36.230 7556-7874 Komposti com.movesense.showcaseapp E DeviceConnector::connectToWbDevice: Device 214730001453 unresponsive on connect
Comments (16)
-
-
This is a weird issue. We have locally tested connectivity to the 2.2 with many apps (including Showcase). There may be some cached bluetooth setting on your phone causing the incompatibility. Please try:
- reboot phone
- make phone “forget” the sensor in bluetooth settings
- clear bluetooth cache (varies a bit by manufacturer, see: https://manager-support.golittlebird.com/support/solutions/articles/61000306177-how-to-clear-your-android-phone-s-bluetooth-cache)
Please let us know if these don’t fix the issue.
-
- changed status to on hold
-
reporter - Rebooted the phone.
- Made the phone forget the sensor
- Tried following the instructions from https://manager-support.golittlebird.com/support/solutions/articles/61000306177-how-to-clear-your-android-phone-s-bluetooth-cache and the option to clear the cache was greyed out, did a little bit of research around it and couldn’t find a solution to enable the option.
- Reset the Bluetooth settings from Settings > General management > Reset > Reset Wi-Fi and Bluetooth settings.
- Did a factory reset from Settings > General management > Reset > Factory data reset.
Tested after each step with the same error.
I have a Samsung A54 running One UI 6.0 Android version 14
-
- changed status to open
-
I’m also able to reproduce using a Pixel 6 Pro running Android 14, with the same error message. Same Movesense device + firmware works perfectly with the iOS showcase app.
-
I also built the same application (simple_ecglogger_app) with core 2.1.5 and both the showcase and DataLoggerSample apps were able to connect just fine.
-
Thanks for reporting this, and the extra info. Looks like it may be something to do with Android 14 in combination with firmware 2.2.0. We’ll look into it in the coming weeks.
-
We’ve studied the issue here and found that:
- When trying to connect to Movesense 2.2.0
without scanning for the sensor first, the Samsung BLE stack stops passing data after the sensor has requested 2M phy mode and the DLE request has been handled. - I
f the app scans for the sensor first before requesting the connection, the above requests succeed and data transmission does not get stuck and everything works ok. After this, disconnect/reconnect work ok as well. - There are no bad packets or protocol errors happening on the bluetooth radio (based on BLE sniffer logs)
- There are no sensor errors happening.
- Logcat shows no errors on the Android system.
We’ve sent a detailed bug report to Samsung in hope that this gets fixed in a future update.
- When trying to connect to Movesense 2.2.0
-
- changed status to on hold
Waiting for response from Samsung
-
reporter
- When trying to connect to Movesense 2.2.0 without scanning for the sensor first, the Samsung BLE stack stops passing data after the sensor has requested 2M phy mode and the DLE request has been handled.
- If the app scans for the sensor first before requesting the connection, the above requests succeed and data transmission does not get stuck and everything works ok. After this, disconnect/reconnect work ok as well.
Even after scanning, I am unable to connect.
We’ve sent a detailed bug report to Samsung in hope that this gets fixed in a future update.
Lucas Cooper is also reporting the same issue from his non-Samsung device (the Google Pixel 6 Pro), so the issue seems at the OS level.
-
Ok, looks like this is quite wide spread with all Android 14 devices. We’ll prioritize and try to find a workaround for 2.2.1 hotfix release.
-
- changed status to open
-
reporter Great, thanks @Petri Lipponen .
-
More info: Looks like this was a know breaking change in Android 14 by Google: https://developer.android.com/about/versions/14/behavior-changes-all#mtu-set-to-517
Fix has been identified and will be released as 2.2.1 shortly.
-
- changed status to resolved
Marking Resolved since 2.2.1 has been relesed.
- Log in to comment