nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Event encoder for S110 SoftDevice serialization. More...

Functions

uint32_t ble_rpc_evt_gap_encode (ble_evt_t *p_ble_evt, uint8_t *p_buffer)
 Function for encoding a ble_evt_t GAP event. More...
 

Detailed Description

Event encoder for S110 SoftDevice serialization.

This module provides functions for serializing S110 SoftDevice events.

Function Documentation

uint32_t ble_rpc_evt_gap_encode ( ble_evt_t p_ble_evt,
uint8_t *  p_buffer 
)

Function for encoding a ble_evt_t GAP event.

Parameters
[in]p_ble_evtS110 SoftDevice event to serialize.
[out]p_bufferPointer to a buffer for the encoded event.
Returns
Number of bytes encoded.