nRF51 SDK - S110 SoftDevice
|
Frame format encoding of the BLE_EVT_TX_COMPLETE packet.
Event ID = 0x01 for BLE_EVT_TX_COMPLETE
All BLE Events, ble_evt_t, are encoded with the header ble_evt_hdr_t first, containing only the 'Event ID', followed by the event. The 'Event Length' will not be encoded as the size of the event could be of different sizes depending on decoder architecture.
The event contains a connection handle, and for the BLE TX complete, the ble_evt_tx_complete_t is encoded after connection handle as seen in Figure 1.
The order of the encoding is:
Length | Parameter | Value |
---|---|---|
2 bytes | Connection Handle | see ble_common_evt_t::conn_handle |
1 byte | Count | see ble_evt_tx_complete_t |