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