Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_WallbotBLE_Challenge by
ble_cscs_init_t Struct Reference
[Cycling Speed and Cadence Service]
Cycling Speed and Cadence Service init structure. More...
#include <ble_cscs.h>
Data Fields | |
ble_cscs_evt_handler_t | evt_handler |
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. |
Detailed Description
Cycling Speed and Cadence Service init structure.
This contains all options and data needed for initialization of the service.
Definition at line 83 of file ble_cscs.h.
Field Documentation
Initial security level for cycling speed and cadence control point attribute.
Definition at line 87 of file ble_cscs.h.
Initial security level for feature attribute.
Definition at line 88 of file ble_cscs.h.
Initial security level for cycling speed and cadence measurement attribute.
Definition at line 86 of file ble_cscs.h.
Initial security level for sensor location attribute.
Definition at line 96 of file ble_cscs.h.
Event handler.
Definition at line 91 of file ble_cscs.h.
uint8_t ctrplt_supported_functions |
Supported control point functionnalities see BLE_SRV_SC_CTRLPT_SUPP_FUNC.
Definition at line 90 of file ble_cscs.h.
Function to be called in case of an error.
Definition at line 94 of file ble_cscs.h.
Event handler to be called for handling events in the Cycling Speed and Cadence Service.
Definition at line 85 of file ble_cscs.h.
uint16_t feature |
Initial value for features of sensor Cycling Speed and Cadence Service feature bits.
Definition at line 89 of file ble_cscs.h.
ble_sensor_location_t* list_supported_locations |
List of supported sensor locations.
Definition at line 92 of file ble_cscs.h.
ble_sensor_location_t* sensor_location |
Initial Sensor Location, if NULL, sensor_location characteristic is not added.
Definition at line 95 of file ble_cscs.h.
uint8_t size_list_supported_locations |
Number of supported sensor locations in the list.
Definition at line 93 of file ble_cscs.h.
Generated on Tue Jul 12 2022 13:52:33 by
