nRF5 SDK v17.1.0
Functions
Events encoder in the Connectivity Chip

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...
 
void ser_conn_ant_event_encoder (void *p_event_data, uint16_t event_size)
 A function for encoding a ant_evt_t. The function passes the serialized byte stream to the transport layer after encoding. More...
 

Detailed Description

Events encoder for BLE SoftDevice.

This file contains declaration of common function used for serializing BLE SoftDevice events.

Function Documentation

void ser_conn_ant_event_encoder ( void *  p_event_data,
uint16_t  event_size 
)

A function for encoding a ant_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 ANT SoftDevice. The function creates a new packet, calls an appropriate event encoder and sends the packet to the Application Chip.

Parameters
[in]p_event_dataPointer to event data of type ant_evt_t.
[in]event_sizeEvent data size.
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 the Application Chip.

Parameters
[in]p_event_dataPointer to event data of type ble_evt_t.
[in]event_sizeEvent data size.

Documentation feedback | Developer Zone | Subscribe | Updated