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

Communication between samples is performed, but communication is disconnected by TIMEOUT.

・Development Computer : Windows10

・Pheripheral

SoftDevice : S132 NRF52405

SDK : ver13.1.0 7ca7556
source : ble_app_uart(original)

・Central

SoftDevice : S140 NRF52610

SDK : ver15.2.0 9412b96
source : ble_app_uart_c(original)

・Step By Step

1. Power ON central.

2. Central start the scanning.

3. Power ON Pheripheral.

4. Peripheral send advertise packet.

5. Central found the advertise packet for peripheral.(UUID is matched)

6. Central execute "sd_ble_gap_connect()"

7. Central receive "BLE_GAP_EVT_CONNECTED" event.

8. Disconnection occurs automatically after a few seconds.

9. Disconnect reason is BLE_HCI_CONNECTION_TIMEOUT(0x8).

Communication between samples is performed, but communication is disconnected by TIMEOUT.
Normally, when connecting, empty packets are always sent and received.
When this transmission / reception fails for a certain period of time,
an error of 0x8 should disconnect BLE communication.
Why do it get disconnected due to this error when communicating between samples?

Parents
  • Hello,

     

    8. Disconnection occurs automatically after a few seconds.

    9. Disconnect reason is BLE_HCI_CONNECTION_TIMEOUT(0x8).

     On what device does this event occur? And what happens on the other device? Does it reset?

    Have you tried to monitor the log (RTT) from the logging module on the devices? You should be able to see whether one of the devices reset or not.

    Best regards,

    Edvin

Reply
  • Hello,

     

    8. Disconnection occurs automatically after a few seconds.

    9. Disconnect reason is BLE_HCI_CONNECTION_TIMEOUT(0x8).

     On what device does this event occur? And what happens on the other device? Does it reset?

    Have you tried to monitor the log (RTT) from the logging module on the devices? You should be able to see whether one of the devices reset or not.

    Best regards,

    Edvin

Children
No Data
Related