Enumerations
Enumerations
BLE Services » Cycling Speed and Cadence Service (CSCS)
Collaboration diagram for Enumerations:

## Enumerations
enum | cscs_sensor_loc_t { CSCS_SENSOR_LOC_OTHER, CSCS_SENSOR_LOC_SHOE_TOP, CSCS_SENSOR_LOC_SHOE_IN, CSCS_SENSOR_LOC_HIP, CSCS_SENSOR_LOC_FRONT_WHEEL, CSCS_SENSOR_LOC_LEFT_PEDAL, CSCS_SENSOR_LOC_RIGHT_PEDAL, CSCS_SENSOR_LOC_FRONT_HUB, CSCS_SENSOR_LOC_SUP_NB }
| Cycling Speed and Cadence Service Sensor Location. More...
enum | cscs_ctrl_pt_op_code_t { CSCS_CTRL_PT_OP_RESERVED, CSCS_CTRL_PT_OP_SET_CUMUL_VAL, CSCS_CTRL_PT_OP_START_CALIB, CSCS_CTRL_PT_OP_UPD_LOC, CSCS_CTRL_PT_OP_REQ_SUP_LOC, CSCS_CTRL_PT_OP_RSP_CODE = 0x10 }
| Cycling Speed and Cadence Service Control Point Operation Code. More...
enum | cscs_ctrl_pt_rsp_t { CSCS_CTRL_PT_RSP_RESERVED, CSCS_CTRL_PT_RSP_SUCCESS, CSCS_CTRL_PT_RSP_NOT_SUP, CSCS_CTRL_PT_RSP_INVALID_PARAM, CSCS_CTRL_PT_RSP_FAILED }
| Cycling Speed and Cadence Service Control Point Response value. More...
enum | cscs_evt_type_t { CSCS_EVT_INVALID, CSCS_EVT_CSC_MEAS_NOTIFICATION_ENABLE, CSCS_EVT_CSC_MEAS_NOTIFICATION_DISABLE, CSCS_EVT_CTRL_POINT_INDICATION_ENABLE, CSCS_EVT_CTRL_POINT_INDICATION_DISABLE, CSCS_EVT_CSC_MEAS_SEND_CPLT, CSCS_EVT_CUMUL_VAL_SET, CSCS_EVT_SEBSOR_CALIBRATION, CSCS_EVT_SEBSOR_LOC_UPD, CSCS_EVT_SUP_SEBSOR_LOC_REQ, CSCS_EVT_CTRL_POINT_RSP_CPLT }
| Cycling Speed and Cadence Service event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ cscs_ctrl_pt_op_code_t

enum cscs_ctrl_pt_op_code_t

Cycling Speed and Cadence Service Control Point Operation Code.

Enumerator
CSCS_CTRL_PT_OP_RESERVED | Reserved for future use.
CSCS_CTRL_PT_OP_SET_CUMUL_VAL | Set Cumulative value Operation Code.
CSCS_CTRL_PT_OP_START_CALIB | Start Sensor Calibration Operation Code.
CSCS_CTRL_PT_OP_UPD_LOC | Update Sensor Location Operation Code.
CSCS_CTRL_PT_OP_REQ_SUP_LOC | Request Supported Sensor Locations Operation Code.
CSCS_CTRL_PT_OP_RSP_CODE | Response code.

Definition at line 131 of file cscs.h.

## ◆ cscs_ctrl_pt_rsp_t

enum cscs_ctrl_pt_rsp_t

Cycling Speed and Cadence Service Control Point Response value.

Enumerator
CSCS_CTRL_PT_RSP_RESERVED | Reserved value.
CSCS_CTRL_PT_RSP_SUCCESS | Operation Success.
CSCS_CTRL_PT_RSP_NOT_SUP | Operation Code Not Supported.
CSCS_CTRL_PT_RSP_INVALID_PARAM | Invalid Parameter.
CSCS_CTRL_PT_RSP_FAILED | Operation Failed.

Definition at line 142 of file cscs.h.

## ◆ cscs_evt_type_t

enum cscs_evt_type_t

Cycling Speed and Cadence Service event type.

Enumerator
CSCS_EVT_INVALID | Indicate that invalid event.
CSCS_EVT_CSC_MEAS_NOTIFICATION_ENABLE | Indicate that CSC Measurement notification has been enabled.
CSCS_EVT_CSC_MEAS_NOTIFICATION_DISABLE | Indicate that CSC Measurement notification has been disabled.
CSCS_EVT_CTRL_POINT_INDICATION_ENABLE | Indicate that SC Control Point indication has been enabled.
CSCS_EVT_CTRL_POINT_INDICATION_DISABLE | Indicate that SC Control Point indication has been disabled.
CSCS_EVT_CSC_MEAS_SEND_CPLT | Indicate that CSC Measurement has been notified.
CSCS_EVT_CUMUL_VAL_SET | Indicate that Wheel Revolution Data needs to be set.
CSCS_EVT_SEBSOR_CALIBRATION | Indicate that Sensor calibration procedure should be initiated.
CSCS_EVT_SEBSOR_LOC_UPD | Indicate that Sensor Location needs to be reset.
CSCS_EVT_SUP_SEBSOR_LOC_REQ | Indicate that request supported sensor location list.
CSCS_EVT_CTRL_POINT_RSP_CPLT | Indicate that SC Control Point response has been indicated.

Definition at line 152 of file cscs.h.

## ◆ cscs_sensor_loc_t

enum cscs_sensor_loc_t

Cycling Speed and Cadence Service Sensor Location.

Enumerator
CSCS_SENSOR_LOC_OTHER | Sensor location: other.
CSCS_SENSOR_LOC_SHOE_TOP | Sensor location: top of shoe.
CSCS_SENSOR_LOC_SHOE_IN | Sensor location: inside of shoe.
CSCS_SENSOR_LOC_HIP | Sensor location: hip.
CSCS_SENSOR_LOC_FRONT_WHEEL | Sensor location: front wheel.
CSCS_SENSOR_LOC_LEFT_PEDAL | Sensor location: left pedal.
CSCS_SENSOR_LOC_RIGHT_PEDAL | Sensor location: right pedal.
CSCS_SENSOR_LOC_FRONT_HUB | Sensor location: front hub.
CSCS_SENSOR_LOC_SUP_NB | Number of sensor location.

Definition at line 117 of file cscs.h.