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

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.

◆ BCS_CONNECTION_MAX

#define BCS_CONNECTION_MAX
Value:
(10 < CFG_MAX_CONNECTIONS ?\
10 : CFG_MAX_CONNECTIONS)

Maximum number of Body Composition Service connections.

◆ BCS_FEAT_VAL_LEN_MAX

#define BCS_FEAT_VAL_LEN_MAX   4

Maximum length of BC Feature value.

◆ BCS_MEAS_UNSUCCESS

#define BCS_MEAS_UNSUCCESS   0xFFFF

Measurement unsuccessful.

◆ BCS_MEAS_VAL_LEN_MAX

#define BCS_MEAS_VAL_LEN_MAX   20

Maximum length of BC Measurment value.

◆ INDI_PAYLOAD_HEADER_LEN

#define INDI_PAYLOAD_HEADER_LEN   3

The length of indication payload header.