This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Android disconnect issues

I am using HRM demo application on nRF52840 DK with Samsung Tab-A. The nRF Connect App is running on the tablet. We are seeing that the dev kit gets disconnected soon after a connection is established. The error code on peripheral side is 0x2A.

Android version is 7.0 Device model number SM-T580 Bluetooth version 4.2

This does not happen on iPhone 7 with the nRFConnect app.

Also, this does not happen on LG Nexus 5 smartphone running Bluetooth version 4.0.

Parents
  • Could you try to use our sniffer ? What you provided is Android log. It doesn't provide all the information needed. I saw some connection established but then saw "Sent Disconnect" meaning it's disconnected by the phone.

    In last softdevice, it's fixed by allowing the parallel LL link command for all LL commands (except 2 same LL commands) by default. So the compatible mode 2 is not needed. Note that compatible mode 2 only cover part of the LL commands, so there could be a chance that your central issue wasn't covered by Compat mode 2.

    sd_ble_opt_get(BLE_GAP_OPT_COMPAT_MODE_2) always return code 7 , it's a bug and since this mode is deprecated in newer softdevice, we won't fix it.

Reply
  • Could you try to use our sniffer ? What you provided is Android log. It doesn't provide all the information needed. I saw some connection established but then saw "Sent Disconnect" meaning it's disconnected by the phone.

    In last softdevice, it's fixed by allowing the parallel LL link command for all LL commands (except 2 same LL commands) by default. So the compatible mode 2 is not needed. Note that compatible mode 2 only cover part of the LL commands, so there could be a chance that your central issue wasn't covered by Compat mode 2.

    sd_ble_opt_get(BLE_GAP_OPT_COMPAT_MODE_2) always return code 7 , it's a bug and since this mode is deprecated in newer softdevice, we won't fix it.

Children
No Data
Related