changed low freq. clock source to IRC

Dependents:   BLE_ANCS_SDAPI_IRC

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

GATTS Events Encoder

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.

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.