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

BCS Measurement Packet Index. More...

Collaboration diagram for Measurement packets index:

## Macros
#define | NUM_PACKETS 2
| Measurement Packet numbers. More...
#define | MEAS_PACKET_FIRST 0
| The first Measurement Packet. More...
#define | MEAS_PACKET_SUB 1
| The second Measurement Packet. More...

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

Definition at line 90 of file bcs.h.

## ◆ MEAS_PACKET_SUB

#define MEAS_PACKET_SUB 1

The second Measurement Packet.

Definition at line 91 of file bcs.h.

## ◆ NUM_PACKETS

#define NUM_PACKETS 2

Measurement Packet numbers.

Definition at line 89 of file bcs.h.