Enumerations
Enumerations
BLE Services » Running Speed and Cadence Service Client (RSCS_C)
Collaboration diagram for Enumerations:

## Enumerations
enum | rscs_c_evt_type_t { RSCS_C_EVT_INVALID, RSCS_C_EVT_DISCOVERY_COMPLETE, RSCS_C_EVT_DISCOVERY_FAIL, RSCS_C_EVT_RSC_MEAS_NTF_SET_SUCCESS, RSCS_C_EVT_CTRL_PT_IND_SET_SUCCESS, RSCS_C_EVT_RSC_MEAS_VAL_RECEIVE, RSCS_C_EVT_RSC_FEATURE_RECEIVE, RSCS_C_EVT_SENSOR_LOC_RECEIVE, RSCS_C_EVT_CTRL_PT_SET_SUCCESS, RSCS_C_EVT_CTRL_PT_RSP_RECEIVE, RSCS_C_EVT_WRITE_OP_ERR }
| Running Speed and Cadence Service Client event type. More...
enum | rscs_c_sensor_loc_t { RSCS_C_SENSOR_LOC_OTHER, RSCS_C_SENSOR_LOC_SHOE_TOP, RSCS_C_SENSOR_LOC_SHOE_IN, RSCS_C_SENSOR_LOC_HIP, RSCS_C_SENSOR_LOC_FRONT_WHEEL, RSCS_C_SENSOR_LOC_LEFT_PEDAL, RSCS_C_SENSOR_LOC_RIGHT_PEDAL, RSCS_C_SENSOR_LOC_FRONT_HUB, RSCS_C_SENSOR_LOC_SUP_NB }
| Running Speed and Cadence Service Sensor Location. More...
enum | rscs_c_ctrl_pt_op_code_t { RSCS_C_CTRL_PT_OP_RESERVED, RSCS_C_CTRL_PT_OP_SET_CUMUL_VAL, RSCS_C_CTRL_PT_OP_START_CALIB, RSCS_C_CTRL_PT_OP_UPD_LOC, RSCS_C_CTRL_PT_OP_REQ_SUP_LOC, RSCS_C_CTRL_PT_OP_RSP_CODE = 0x10 }
| Running Speed and Cadence Service Control Point Operation Code. More...
enum | rscs_c_ctrl_pt_rsp_t { RSCS_C_CTRL_PT_RSP_RESERVED, RSCS_C_CTRL_PT_RSP_SUCCESS, RSCS_C_CTRL_PT_RSP_NOT_SUP, RSCS_C_CTRL_PT_RSP_INVALID_PARAM, RSCS_C_CTRL_PT_RSP_FAILED }
| Running Speed and Cadence Service Control Point Response value. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ rscs_c_ctrl_pt_op_code_t

enum rscs_c_ctrl_pt_op_code_t

Running Speed and Cadence Service Control Point Operation Code.

Enumerator
RSCS_C_CTRL_PT_OP_RESERVED | Reserved for future use.
RSCS_C_CTRL_PT_OP_SET_CUMUL_VAL | Set Cumulative value Operation Code.
RSCS_C_CTRL_PT_OP_START_CALIB | Start Sensor Calibration Operation Code.
RSCS_C_CTRL_PT_OP_UPD_LOC | Update Sensor Location Operation Code.
RSCS_C_CTRL_PT_OP_REQ_SUP_LOC | Request Supported Sensor Locations Operation Code.
RSCS_C_CTRL_PT_OP_RSP_CODE | Response code.

Definition at line 135 of file rscs_c.h.

## ◆ rscs_c_ctrl_pt_rsp_t

enum rscs_c_ctrl_pt_rsp_t

Running Speed and Cadence Service Control Point Response value.

Enumerator
RSCS_C_CTRL_PT_RSP_RESERVED | Reserved value.
RSCS_C_CTRL_PT_RSP_SUCCESS | Operation Succeeded.
RSCS_C_CTRL_PT_RSP_NOT_SUP | Operation Code Not Supported.
RSCS_C_CTRL_PT_RSP_INVALID_PARAM | Invalid Parameter.
RSCS_C_CTRL_PT_RSP_FAILED | Operation Failed.

Definition at line 146 of file rscs_c.h.

## ◆ rscs_c_evt_type_t

enum rscs_c_evt_type_t

Running Speed and Cadence Service Client event type.

Enumerator
RSCS_C_EVT_INVALID |
RSCS_C_EVT_DISCOVERY_COMPLETE | RSCS Client has found RSCS service and its characteristics.
RSCS_C_EVT_DISCOVERY_FAIL | RSCS Client found RSCS service failed because of invalid operation or no found at the peer.
RSCS_C_EVT_RSC_MEAS_NTF_SET_SUCCESS | RSCS Client has set Notification of RSC Measure characteristic.
RSCS_C_EVT_CTRL_PT_IND_SET_SUCCESS | RSCS Client has set Indication of Control Point characteristic.
RSCS_C_EVT_RSC_MEAS_VAL_RECEIVE | RSCS Client has received RSC Measurement value notification from peer.
RSCS_C_EVT_RSC_FEATURE_RECEIVE | RSCS Client has received RSC Feature Value read response.
RSCS_C_EVT_SENSOR_LOC_RECEIVE | RSCS Client has received Sensor Location Value read response.
RSCS_C_EVT_CTRL_PT_SET_SUCCESS | RSCS Client has writen Control Point completely.
RSCS_C_EVT_CTRL_PT_RSP_RECEIVE | RSCS Client has received Indication of Control Point characteristic.
RSCS_C_EVT_WRITE_OP_ERR | Error occured when RSCS Client writen to peer.

Definition at line 105 of file rscs_c.h.

## ◆ rscs_c_sensor_loc_t

enum rscs_c_sensor_loc_t

Running Speed and Cadence Service Sensor Location.

Enumerator
RSCS_C_SENSOR_LOC_OTHER | Sensor location: other.
RSCS_C_SENSOR_LOC_SHOE_TOP | Sensor location: top of shoe.
RSCS_C_SENSOR_LOC_SHOE_IN | Sensor location: inside of shoe.
RSCS_C_SENSOR_LOC_HIP | Sensor location: hip.
RSCS_C_SENSOR_LOC_FRONT_WHEEL | Sensor location: front wheel.
RSCS_C_SENSOR_LOC_LEFT_PEDAL | Sensor location: left pedal.
RSCS_C_SENSOR_LOC_RIGHT_PEDAL | Sensor location: right pedal.
RSCS_C_SENSOR_LOC_FRONT_HUB | Sensor location: front hub.
RSCS_C_SENSOR_LOC_SUP_NB | Number of sensor location.

Definition at line 121 of file rscs_c.h.