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

About the behavior of the transmission completion event of the multi-link central

Since there is an operation that does not know whether the behavior of Central is abnormal, please let me ask a question.

In Central, call NRF_SDH_BLE_OBSERVERS ().
The value of the argument _cnt is set to 10.

If one peripheral is connected to Central and BleData is sent from Central, 10 times "BLE_GATTC_EVT_WRITE_CMD_TX_COMPLETE" will arrive when the transmission is completed.
At this time, the following conn_handle is set in the argument of 10 events.

1:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0x00
2:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF
3:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF
Four:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF
Five:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF
6:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF
7:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF
8:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF
9:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF
Ten:
   p_ble_evt-> evt.gap_evt.conn_handle = 0x00
   p_context-> conn_handle = 0xFF

Is this behavior correct?

Parents Reply Children
No Data
Related