Enumerations
Enumerations
BLE Services » Running Speed and Cadence Service (RSCS)

## Enumerations
enum | rscs_sensor_loc_t { RSCS_SENSOR_LOC_OTHER, RSCS_SENSOR_LOC_SHOE_TOP, RSCS_SENSOR_LOC_SHOE_IN, RSCS_SENSOR_LOC_HIP, RSCS_SENSOR_LOC_FRONT_WHEEL, RSCS_SENSOR_LOC_LEFT_PEDAL, RSCS_SENSOR_LOC_RIGHT_PEDAL, RSCS_SENSOR_LOC_FRONT_HUB, RSCS_SENSOR_LOC_SUP_NB }
| Running Speed and Cadence Service Sensor Location. More...
enum | rscs_ctrl_pt_op_code_t { RSCS_CTRL_PT_OP_RESERVED, RSCS_CTRL_PT_OP_SET_CUMUL_VAL, RSCS_CTRL_PT_OP_START_CALIB, RSCS_CTRL_PT_OP_UPD_LOC, RSCS_CTRL_PT_OP_REQ_SUP_LOC, RSCS_CTRL_PT_OP_RSP_CODE = 0x10 }
| Running Speed and Cadence Service Control Point Operation Code. More...
enum | rscs_ctrl_pt_rsp_t { RSCS_CTRL_PT_RSP_RESERVED, RSCS_CTRL_PT_RSP_SUCCESS, RSCS_CTRL_PT_RSP_NOT_SUP, RSCS_CTRL_PT_RSP_INVALID_PARAM, RSCS_CTRL_PT_RSP_FAILED }
| Running Speed and Cadence Service Control Point Response value. More...
enum | rscs_evt_type_t { RSCS_EVT_INVALID, RSCS_EVT_RSC_MEAS_NOTIFICATION_ENABLE, RSCS_EVT_RSC_MEAS_NOTIFICATION_DISABLE, RSCS_EVT_CTRL_POINT_INDICATION_ENABLE, RSCS_EVT_CTRL_POINT_INDICATION_DISABLE, RSCS_EVT_RSC_MEAS_SEND_CPLT, RSCS_EVT_CUMUL_VAL_SET, RSCS_EVT_SEBSOR_CALIBRATION, RSCS_EVT_SEBSOR_LOC_UPD, RSCS_EVT_SUP_SEBSOR_LOC_REQ, RSCS_EVT_CTRL_POINT_RSP_CPLT }
| Running Speed and Cadence Service event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ rscs_ctrl_pt_op_code_t

enum rscs_ctrl_pt_op_code_t

Running Speed and Cadence Service Control Point Operation Code.

Enumerator
RSCS_CTRL_PT_OP_RESERVED | Reserved for future use.
RSCS_CTRL_PT_OP_SET_CUMUL_VAL | Set Cumulative value Operation Code.
RSCS_CTRL_PT_OP_START_CALIB | Start Sensor Calibration Operation Code.
RSCS_CTRL_PT_OP_UPD_LOC | Update Sensor Location Operation Code.
RSCS_CTRL_PT_OP_REQ_SUP_LOC | Request Supported Sensor Locations Operation Code.
RSCS_CTRL_PT_OP_RSP_CODE | Response code.

Definition at line 135 of file rscs.h.

## ◆ rscs_ctrl_pt_rsp_t

enum rscs_ctrl_pt_rsp_t

Running Speed and Cadence Service Control Point Response value.

Enumerator
RSCS_CTRL_PT_RSP_RESERVED | Reserved value.
RSCS_CTRL_PT_RSP_SUCCESS | Operation Succeeded.
RSCS_CTRL_PT_RSP_NOT_SUP | Operation Code Not Supported.
RSCS_CTRL_PT_RSP_INVALID_PARAM | Invalid Parameter.
RSCS_CTRL_PT_RSP_FAILED | Operation Failed.

Definition at line 146 of file rscs.h.

## ◆ rscs_evt_type_t

enum rscs_evt_type_t

Running Speed and Cadence Service event type.

Enumerator
RSCS_EVT_INVALID | Indicate that invalid event.
RSCS_EVT_RSC_MEAS_NOTIFICATION_ENABLE | Indicate that RSC Measurement notification has been enabled.
RSCS_EVT_RSC_MEAS_NOTIFICATION_DISABLE | Indicate that RSC Measurement notification has been disabled.
RSCS_EVT_CTRL_POINT_INDICATION_ENABLE | Indicate that SC Control Point indication has been enabled.
RSCS_EVT_CTRL_POINT_INDICATION_DISABLE | Indicate that SC Control Point indication has been disabled.
RSCS_EVT_RSC_MEAS_SEND_CPLT | Indicate that RSC Measurement has been notified.
RSCS_EVT_CUMUL_VAL_SET | Indicate that Total Distance value needs to be set.
RSCS_EVT_SEBSOR_CALIBRATION | Indicate that Sensor calibration procedure should be initiated.
RSCS_EVT_SEBSOR_LOC_UPD | Indicate that Sensor Location needs to be reset.
RSCS_EVT_SUP_SEBSOR_LOC_REQ | Indicate that request supported sensor location list.
RSCS_EVT_CTRL_POINT_RSP_CPLT | Indicate that SC Control Point response has been indicated.

Definition at line 156 of file rscs.h.

## ◆ rscs_sensor_loc_t

enum rscs_sensor_loc_t

Running Speed and Cadence Service Sensor Location.

Enumerator
RSCS_SENSOR_LOC_OTHER | Sensor location: other.
RSCS_SENSOR_LOC_SHOE_TOP | Sensor location: top of shoe.
RSCS_SENSOR_LOC_SHOE_IN | Sensor location: inside of shoe.
RSCS_SENSOR_LOC_HIP | Sensor location: hip.
RSCS_SENSOR_LOC_FRONT_WHEEL | Sensor location: front wheel.
RSCS_SENSOR_LOC_LEFT_PEDAL | Sensor location: left pedal.
RSCS_SENSOR_LOC_RIGHT_PEDAL | Sensor location: right pedal.
RSCS_SENSOR_LOC_FRONT_HUB | Sensor location: front hub.
RSCS_SENSOR_LOC_SUP_NB | Number of sensor location.

Definition at line 121 of file rscs.h.