nRF51 SDK: ble_cscs_s Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

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).