SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_cs_ctrlpt_init_t Struct Reference

ble_cs_ctrlpt_init_t Struct Reference
[Speed and Cadence Control Point]

Speed and Cadence Control Point init structure. More...

#include <ble_sc_ctrlpt.h>

Data Fields

ble_srv_cccd_security_mode_t sc_ctrlpt_attr_md
 Initial security level for cycling speed and cadence control point attribute.
uint8_t supported_functions
 supported control point functionnalities see BLE_SRV_SC_CTRLPT_SUPP_FUNC.
uint16_t service_handle
 Handle of the parent service (as provided by the BLE stack).
ble_sc_ctrlpt_evt_handler_t 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.
uint16_t sensor_location_handle
 handle for the sensor location characteristic (if sensor_location related operation are supported).
ble_srv_error_handler_t error_handler
 Function to be called in case of an error.

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.

Definition at line 121 of file ble_sc_ctrlpt.h.


Field Documentation

Function to be called in case of an error.

Definition at line 130 of file ble_sc_ctrlpt.h.

event handler

Definition at line 126 of file ble_sc_ctrlpt.h.

ble_sensor_location_t* list_supported_locations

list of supported sensor locations.

Definition at line 127 of file ble_sc_ctrlpt.h.

Initial security level for cycling speed and cadence control point attribute.

Definition at line 123 of file ble_sc_ctrlpt.h.

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

Definition at line 129 of file ble_sc_ctrlpt.h.

uint16_t service_handle

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

Definition at line 125 of file ble_sc_ctrlpt.h.

number of supported sensor locations in the list.

Definition at line 128 of file ble_sc_ctrlpt.h.

supported control point functionnalities see BLE_SRV_SC_CTRLPT_SUPP_FUNC.

Definition at line 124 of file ble_sc_ctrlpt.h.