nRF51 SDK - S120 SoftDevice
|
Events encoder for BLE SoftDevice. More...
Functions | |
void | ser_conn_ble_event_encoder (void *p_event_data, uint16_t event_size) |
A function for encoding a ble_evt_t. The function passes the serialized byte stream to the transport layer after encoding. More... | |
Events encoder for BLE SoftDevice.
This file contains declaration of common function used for serializing BLE SoftDevice events.
void ser_conn_ble_event_encoder | ( | void * | p_event_data, |
uint16_t | event_size | ||
) |
A function for encoding a ble_evt_t. The function passes the serialized byte stream to the transport layer after encoding.
The function is called by the application scheduler to process an event previously pulled from BLE SoftDevice. The function creates a new packet, calls an appropriate event encoder and sends the packet to an Application Chip.
[in] | p_event_data | Pointer to event data of type ble_evt_t. |
[in] | event_size | Event data size. |