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
#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

Value:
(10 < CFG_MAX_CONNECTIONS ?\
10 : CFG_MAX_CONNECTIONS)

Maximum number of Running Speed and Cadence Service connections.

## ◆ RSCS_CTRL_PT_RSP_LEN_MIN

#define RSCS_CTRL_PT_RSP_LEN_MIN 3

Mimimum length of SC Control Point responce value.

## ◆ 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.

## ◆ RSCS_ERROR_CCCD_INVALID

#define RSCS_ERROR_CCCD_INVALID 0x81

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

## ◆ 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.

## ◆ RSCS_FEAT_VAL_LEN_MAX

#define RSCS_FEAT_VAL_LEN_MAX 2

Maximum length of RSC Feature value.

## ◆ RSCS_MEAS_VAL_LEN_MAX

#define RSCS_MEAS_VAL_LEN_MAX 20

Maximum length of RSC measurement value.

## ◆ RSCS_SENSOR_LOC_VAL_LEN_MAX

#define RSCS_SENSOR_LOC_VAL_LEN_MAX 1

Maximum length of RSC Sensor Location value.