nRF51 SDK: GATTS Events Encoder

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions
GATTS Events Encoder
BLE Serialization Libraries

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_evt | S110 SoftDevice event to serialize.
  [out] | p_buffer | Pointer to a buffer for the encoded event.

Returns
  Number of bytes encoded.