3 years, 2 months ago.

GattCharacteristic maximum size?

In the Advanced Samples section on BLE docs, High Data Rate Low Latency Transfers ( is said that a characteristic with larger data bytes can be declared as follows:

WriteOnlyArrayGattCharacteristic<uint8_t, NUM_BYTES> writeTo(uuid, valuePtr,

My question is that what is the maximum NUM_BYTES that can be used? As in, what is the maximum size of data that can be encapsulated in a characteristic?

Question relating to:

Bluetooth Low Energy (a.k.a Bluetooth LE, BTLE, Bluetooth Smart)
Comment on this question

1 Answer

3 years, 2 months ago.

Hi Anas,

I believe the Bluetooth specification states that the maximum size of an attribute is 512 bytes; therefore, since a Characteristic is basically a collection of attributes, that would be the maximum size of your data attribute.

This is the specification: Have a look at section 3.2.9.


posted by Anas Imtiaz 02 Dec 2015

To post an answer, please log in.