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

Android disconnects with message: nrf_sdh_ble: BLE event: 0x11

Hi,


I have built my code on top of ble_app_template and im using a custom service. My problem occurs when sending data from an android Samsung S9 (and possibly other android phones) to my nrf52 DK using write without respons cmd. Its the same behaviour if I send 3 packets in a row or 50 packets, the write to characteristic fails after a couple of packets and I get nrf_sdh_ble: BLE event: 0x11.  When using my iPhone 11 pro it works out perfect.

Im using Softdevice S132 7.0.1 and sdk 16.0.0_98a08e2

Min conn interval: 15

Max conn interval: 30

NRF_SDH_BLE_GAP_DATA_LENGTH 251
NRF_SDH_BLE_GAP_EVENT_LENGTH 400
NRF_SDH_BLE_GATT_MAX_MTU_SIZE 247

Please let me know if you need any additional information/code to advise in the matter.

Best regards / Rasmus

Parents
  • Hi Rasmus

    Seeing as the problem only occurs on a Samsung, I assume the problem is on the phone side of things. I think that error 0x11 means that the phone side is busy, which is why it can't receive any more packets, so it may not be able to receive more packets. Can you try reducing the NRF_SDH_BLE_GAP_DATA_LENGTH somewhat to see if that lets you receive more packets?

    Best regards,

    Simon

Reply
  • Hi Rasmus

    Seeing as the problem only occurs on a Samsung, I assume the problem is on the phone side of things. I think that error 0x11 means that the phone side is busy, which is why it can't receive any more packets, so it may not be able to receive more packets. Can you try reducing the NRF_SDH_BLE_GAP_DATA_LENGTH somewhat to see if that lets you receive more packets?

    Best regards,

    Simon

Children
Related