Modules | Macros
Defines
BLE Services » Body Composition Service (BCS)

## Modules
| Measurement packets index
| BCS Measurement Packet Index. The least value of MTU is 23 octets. The size of Attribute Value is (23-3) octets which could be less than the size (30 octets) of all fields of Body Composition Measurement. If the required data exceeds the current size (MTU - 3) octets, the remaining optional fields shall be sent in the subsequent indication. So we need no more than 2 packets.
| Characteristics Mask
| Bit masks for the initialization of bcs_init_t::char_mask.

## Macros
#define | BCS_CONNECTION_MAX 10
#define | BCS_MEAS_VAL_LEN_MAX 20
#define | BCS_FEAT_VAL_LEN_MAX 4
#define | INDI_PAYLOAD_HEADER_LEN 3
#define | BCS_CACHE_MEAS_NUM_MAX 25
#define | BCS_MEAS_UNSUCCESS 0xFFFF
#define | BCS_MEAS_FLAG_DEFAULT 0x01FF

## Detailed Description

## Macro Definition Documentation

## ◆ BCS_CACHE_MEAS_NUM_MAX

#define BCS_CACHE_MEAS_NUM_MAX 25

Maximum number of cache muasurements value for each user.

Definition at line 94 of file bcs.h.

## ◆ BCS_CONNECTION_MAX

#define BCS_CONNECTION_MAX 10

Maximum number of Body Composition Service connections.

Definition at line 73 of file bcs.h.

## ◆ BCS_FEAT_VAL_LEN_MAX

#define BCS_FEAT_VAL_LEN_MAX 4

Maximum length of BC Feature value.

Definition at line 75 of file bcs.h.

## ◆ BCS_MEAS_FLAG_DEFAULT

#define BCS_MEAS_FLAG_DEFAULT 0x01FF

Measurement default flag.

Definition at line 98 of file bcs.h.

## ◆ BCS_MEAS_UNSUCCESS

#define BCS_MEAS_UNSUCCESS 0xFFFF

Measurement unsuccessful.

Definition at line 96 of file bcs.h.

## ◆ BCS_MEAS_VAL_LEN_MAX

#define BCS_MEAS_VAL_LEN_MAX 20

Maximum length of BC Measurment value.

Definition at line 74 of file bcs.h.

## ◆ INDI_PAYLOAD_HEADER_LEN

#define INDI_PAYLOAD_HEADER_LEN 3

The length of indication payload header.

Definition at line 77 of file bcs.h.