Modules | Macros
Defines
BLE Services » Running Speed and Cadence Service (RSCS)

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

## Macros
#define | RSCS_CONNECTION_MAX 10
#define | RSCS_MEAS_VAL_LEN_MAX 20
#define | RSCS_FEAT_VAL_LEN_MAX 2
#define | RSCS_SENSOR_LOC_VAL_LEN_MAX 1
#define | RSCS_CTRL_PT_RSP_LEN_MIN 3
#define | RSCS_CTRL_PT_VAL_LEN_MAX (RSCS_CTRL_PT_RSP_LEN_MIN + RSCS_SENSOR_LOC_SUP_NB)
#define | RSCS_ERROR_PROC_IN_PROGRESS 0x80
#define | RSCS_ERROR_CCCD_INVALID 0x81

## Detailed Description

## Macro Definition Documentation

## ◆ RSCS_CONNECTION_MAX

#define RSCS_CONNECTION_MAX 10

Maximum number of Running Speed and Cadence Service connections.

Definition at line 71 of file rscs.h.

## ◆ RSCS_CTRL_PT_RSP_LEN_MIN

#define RSCS_CTRL_PT_RSP_LEN_MIN 3

Mimimum length of SC Control Point responce value.

Definition at line 75 of file rscs.h.

## ◆ RSCS_CTRL_PT_VAL_LEN_MAX

#define RSCS_CTRL_PT_VAL_LEN_MAX (RSCS_CTRL_PT_RSP_LEN_MIN + RSCS_SENSOR_LOC_SUP_NB)

Maximum length of SC Control Point value.

Definition at line 76 of file rscs.h.

## ◆ RSCS_ERROR_CCCD_INVALID

#define RSCS_ERROR_CCCD_INVALID 0x81

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

Definition at line 79 of file rscs.h.

## ◆ RSCS_ERROR_PROC_IN_PROGRESS

#define RSCS_ERROR_PROC_IN_PROGRESS 0x80

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

Definition at line 78 of file rscs.h.

## ◆ RSCS_FEAT_VAL_LEN_MAX

#define RSCS_FEAT_VAL_LEN_MAX 2

Maximum length of RSC Feature value.

Definition at line 73 of file rscs.h.

## ◆ RSCS_MEAS_VAL_LEN_MAX

#define RSCS_MEAS_VAL_LEN_MAX 20

Maximum length of RSC measurement value.

Definition at line 72 of file rscs.h.

## ◆ RSCS_SENSOR_LOC_VAL_LEN_MAX

#define RSCS_SENSOR_LOC_VAL_LEN_MAX 1

Maximum length of RSC Sensor Location value.

Definition at line 74 of file rscs.h.