Modules | Macros
Defines
BLE Services » Cycling Speed and Cadence Service (CSCS)
Collaboration diagram for Defines:

## Modules
| Characteristics Mask
| Bit masks for the initialization of cscs_init_t::char_mask.
| Measurement Flag Bits
| Cycling Speed and Cadence Measurement Flags.
| Feature Bits
| Cycling Speed and Cadence Service feature bits.

## Macros
#define | CSCS_CONNECTION_MAX 10
| Maximum number of CSCS connections. More...
#define | CSCS_MEAS_VAL_LEN_MAX 20
| Maximum length of CSC Measurment value. More...
#define | CSCS_FEAT_VAL_LEN_MAX 2
| Maximum length of CSC Feature value. More...
#define | CSCS_SENSOR_LOC_VAL_LEN_MAX 1
| Maximum length of Sensor Location value. More...
#define | CSCS_CTRL_PT_RSP_LEN_MIN 3
| Mimimum length of SC Control Point response value. More...
#define | CSCS_CTRL_PT_VAL_LEN_MAX (CSCS_CTRL_PT_RSP_LEN_MIN + CSCS_SENSOR_LOC_SUP_NB)
| Maximum length of SC Control Point value. More...
#define | CSCS_ERROR_PROC_IN_PROGRESS 0x80
| Error code: A previously triggered SC Control Point operation is still in progress. More...
#define | CSCS_ERROR_CCCD_INVALID 0x81
| Error code: The Client Characteristic Configuration descriptor is not configured. More...

## Detailed Description

## Macro Definition Documentation

## ◆ CSCS_CONNECTION_MAX

#define CSCS_CONNECTION_MAX 10

Maximum number of CSCS connections.

Definition at line 70 of file cscs.h.

## ◆ CSCS_CTRL_PT_RSP_LEN_MIN

#define CSCS_CTRL_PT_RSP_LEN_MIN 3

Mimimum length of SC Control Point response value.

Definition at line 74 of file cscs.h.

## ◆ CSCS_CTRL_PT_VAL_LEN_MAX

#define CSCS_CTRL_PT_VAL_LEN_MAX (CSCS_CTRL_PT_RSP_LEN_MIN + CSCS_SENSOR_LOC_SUP_NB)

Maximum length of SC Control Point value.

Definition at line 75 of file cscs.h.

## ◆ CSCS_ERROR_CCCD_INVALID

#define CSCS_ERROR_CCCD_INVALID 0x81

Error code: The Client Characteristic Configuration descriptor is not configured.

Definition at line 78 of file cscs.h.

## ◆ CSCS_ERROR_PROC_IN_PROGRESS

#define CSCS_ERROR_PROC_IN_PROGRESS 0x80

Error code: A previously triggered SC Control Point operation is still in progress.

Definition at line 77 of file cscs.h.

## ◆ CSCS_FEAT_VAL_LEN_MAX

#define CSCS_FEAT_VAL_LEN_MAX 2

Maximum length of CSC Feature value.

Definition at line 72 of file cscs.h.

## ◆ CSCS_MEAS_VAL_LEN_MAX

#define CSCS_MEAS_VAL_LEN_MAX 20

Maximum length of CSC Measurment value.

Definition at line 71 of file cscs.h.

## ◆ CSCS_SENSOR_LOC_VAL_LEN_MAX

#define CSCS_SENSOR_LOC_VAL_LEN_MAX 1

Maximum length of Sensor Location value.

Definition at line 73 of file cscs.h.