nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_cscs_init_t Struct Reference

Data Fields

ble_cscs_evt_handler_t evt_handler
 
ble_srv_cccd_security_mode_t csc_meas_attr_md
 
ble_srv_cccd_security_mode_t csc_ctrlpt_attr_md
 
ble_srv_security_mode_t csc_feature_attr_md
 
uint16_t feature
 
uint8_t ctrplt_supported_functions
 
ble_sc_ctrlpt_evt_handler_t ctrlpt_evt_handler
 
ble_sensor_location_t * list_supported_locations
 
uint8_t size_list_supported_locations
 
ble_srv_error_handler_t error_handler
 
ble_sensor_location_t * sensor_location
 
ble_srv_cccd_security_mode_t csc_sensor_loc_attr_md
 

Field Documentation

Event handler to be called for handling events in the Cycling Speed and Cadence Service.

ble_srv_cccd_security_mode_t csc_meas_attr_md

Initial security level for cycling speed and cadence measurement attribute

ble_srv_cccd_security_mode_t csc_ctrlpt_attr_md

Initial security level for cycling speed and cadence control point attribute

ble_srv_security_mode_t csc_feature_attr_md

Initial security level for feature attribute

uint16_t feature

Initial value for features of sensor Cycling Speed and Cadence Service feature bits.

uint8_t ctrplt_supported_functions

Supported control point functionnalities see BLE_SRV_SC_CTRLPT_SUPP_FUNC.

ble_sc_ctrlpt_evt_handler_t ctrlpt_evt_handler

Event handler

ble_sensor_location_t* list_supported_locations

List of supported sensor locations.

uint8_t size_list_supported_locations

Number of supported sensor locations in the list.

ble_srv_error_handler_t error_handler

Function to be called in case of an error.

ble_sensor_location_t* sensor_location

Initial Sensor Location, if NULL, sensor_location characteristic is not added

ble_srv_cccd_security_mode_t csc_sensor_loc_attr_md

Initial security level for sensor location attribute