| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_cscs_s Struct Reference
Cycling Speed and Cadence Service

Cycling Speed and Cadence Service structure. This contains various status information for the service. More...

`#include <ble_cscs.h>`

## Data Fields
ble_cscs_evt_handler_t | evt_handler
uint16_t | service_handle
ble_gatts_char_handles_t | meas_handles
ble_gatts_char_handles_t | feature_handles
ble_gatts_char_handles_t | sensor_loc_handles
uint16_t | conn_handle
uint16_t | feature
ble_sc_ctrlpt_t | ctrl_pt

## Detailed Description

Cycling Speed and Cadence Service structure. This contains various status information for the service.

## Field Documentation

uint16_t ble_cscs_s::conn_handle

Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).

ble_sc_ctrlpt_t ble_cscs_s::ctrl_pt

data for speed and cadence control point

ble_cscs_evt_handler_t ble_cscs_s::evt_handler

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

uint16_t ble_cscs_s::feature

Bit mask of features available on sensor.

ble_gatts_char_handles_t ble_cscs_s::feature_handles

Handles related to the Cycling Speed and Cadence feature characteristic.

ble_gatts_char_handles_t ble_cscs_s::meas_handles

Handles related to the Cycling Speed and Cadence Measurement characteristic.

ble_gatts_char_handles_t ble_cscs_s::sensor_loc_handles

Handles related to the Cycling Speed and Cadence Sensor Location characteristic.

uint16_t ble_cscs_s::service_handle

Handle of Cycling Speed and Cadence Service (as provided by the BLE stack).