Macros
Measurement packets index
BLE Services » Body Composition Service (BCS) » Defines

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. More...

## Macros
#define | NUM_PACKETS 2
#define | MEAS_PACKET_FIRST 0
#define | MEAS_PACKET_SUB 1

## Detailed Description

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.

## Macro Definition Documentation

## ◆ MEAS_PACKET_FIRST

#define MEAS_PACKET_FIRST 0

The first Measurement Packet.

## ◆ MEAS_PACKET_SUB

#define MEAS_PACKET_SUB 1

The second Measurement Packet.

## ◆ NUM_PACKETS

#define NUM_PACKETS 2

Measurement Packet numbers.