ble_cs_ctrlpt_init_t

nRF5 SDK v11.0.0

nRF5 SDK v11.0.0

Speed and Cadence Control Point init structure. This contains all options and data needed for initialization of the Speed and Cadence Control Point module. More...

#include <ble_sc_ctrlpt.h>

Detailed Description

Speed and Cadence Control Point init structure. This contains all options and data needed for initialization of the Speed and Cadence Control Point module.

Field Documentation

ble_srv_error_handler_t ble_cs_ctrlpt_init_t::error_handler

Function to be called in case of an error.

ble_sc_ctrlpt_evt_handler_t ble_cs_ctrlpt_init_t::evt_handler

event handler

ble_sensor_location_t* ble_cs_ctrlpt_init_t::list_supported_locations

list of supported sensor locations.

ble_srv_cccd_security_mode_t ble_cs_ctrlpt_init_t::sc_ctrlpt_attr_md

Initial security level for cycling speed and cadence control point attribute

uint16_t ble_cs_ctrlpt_init_t::sensor_location_handle

handle for the sensor location characteristic (if sensor_location related operation are supported).

uint16_t ble_cs_ctrlpt_init_t::service_handle

Handle of the parent service (as provided by the BLE stack).

uint8_t ble_cs_ctrlpt_init_t::size_list_supported_locations

number of supported sensor locations in the list.

uint8_t ble_cs_ctrlpt_init_t::supported_functions

supported control point functionalities see Control point functionalities. .