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

Event encoder for S110 SoftDevice serialization. More...

Functions

uint32_t ble_rpc_evt_gatts_encode (ble_evt_t *p_ble_evt, uint8_t *p_buffer)
 Function for encoding a ble_evt_t GATTS 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_gatts_encode ( ble_evt_t p_ble_evt,
uint8_t *  p_buffer 
)

Function for encoding a ble_evt_t GATTS 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.