nRF5 SDK v12.2.0
Functions

Functions for handling GATTS write and read requests. More...

Functions

void es_gatts_write_evt_handler (nrf_ble_escs_t *p_escs, nrf_ble_escs_evt_type_t evt_type, uint16_t val_handle, uint8_t *p_data, uint16_t length)
 Function for handling all write requests from the Central. More...
 
void es_gatts_read_evt_handler (nrf_ble_escs_t *p_escs, nrf_ble_escs_evt_type_t evt_type, uint16_t val_handle)
 Function for handling all read requests from the Central. More...
 

Detailed Description

Functions for handling GATTS write and read requests.

Function Documentation

void es_gatts_read_evt_handler ( nrf_ble_escs_t p_escs,
nrf_ble_escs_evt_type_t  evt_type,
uint16_t  val_handle 
)

Function for handling all read requests from the Central.

Parameters
[in]p_escsPointer to the Eddystone Configuration Service.
[in]evt_typeType of event (corresponding to each characteristic in the service that is being read from).
[in]val_handleValue handle field of the characteristic handle of the characteristic that is being read from.
void es_gatts_write_evt_handler ( nrf_ble_escs_t p_escs,
nrf_ble_escs_evt_type_t  evt_type,
uint16_t  val_handle,
uint8_t *  p_data,
uint16_t  length 
)

Function for handling all write requests from the Central.

Parameters
[in]p_escsPointer to the Eddystone Configuration Service.
[in]evt_typeType of event (corresponding to each characteristic in the service that is being written to).
[in]val_handleValue handle field of the characteristic handle of the characteristic that is being written to.
[in]p_dataPointer to the data to be written.
[in]lengthLength of the data to be written.

Documentation feedback | Developer Zone | Subscribe | Updated