nRF5 SDK v17.1.0
Data Fields
ble_cscs_init_t Struct Reference

Cycling Speed and Cadence Service init structure. This contains all options and data needed for initialization of the service. More...

#include <ble_cscs.h>

Data Fields

ble_cscs_evt_handler_t evt_handler
 
security_req_t csc_meas_cccd_wr_sec
 
security_req_t csc_feature_rd_sec
 
security_req_t csc_location_rd_sec
 
security_req_t sc_ctrlpt_cccd_wr_sec
 
security_req_t sc_ctrlpt_wr_sec
 
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
 

Detailed Description

Cycling Speed and Cadence Service init structure. This contains all options and data needed for initialization of the service.

Field Documentation

security_req_t ble_cscs_init_t::csc_feature_rd_sec

Security requirement for reading cycling speed and cadence feature characteristic.

security_req_t ble_cscs_init_t::csc_location_rd_sec

Security requirement for reading cycling speed and cadence location characteristic.

security_req_t ble_cscs_init_t::csc_meas_cccd_wr_sec

Security requirement for writing cycling speed and cadence measurement characteristic CCCD.

ble_sc_ctrlpt_evt_handler_t ble_cscs_init_t::ctrlpt_evt_handler

Event handler

uint8_t ble_cscs_init_t::ctrplt_supported_functions

Supported control point functionalities see Control point functionalities..

ble_srv_error_handler_t ble_cscs_init_t::error_handler

Function to be called in case of an error.

ble_cscs_evt_handler_t ble_cscs_init_t::evt_handler

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

uint16_t ble_cscs_init_t::feature

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

ble_sensor_location_t* ble_cscs_init_t::list_supported_locations

List of supported sensor locations.

security_req_t ble_cscs_init_t::sc_ctrlpt_cccd_wr_sec

Security requirement for writing speed and cadence control point characteristic CCCD.

security_req_t ble_cscs_init_t::sc_ctrlpt_wr_sec

Security requirement for writing speed and cadence control point characteristic.

ble_sensor_location_t* ble_cscs_init_t::sensor_location

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

uint8_t ble_cscs_init_t::size_list_supported_locations

Number of supported sensor locations in the list.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated