What is the maximum size of data that can be encapsulated in a characteristic?

The answer: 512 bytes.

But to understand where that came from, let’s first look at what a characteristic really is.

Attributes are the generic term describing the smallest element in the Generic Attribute Profile (GATT). So each of Services, Characteristics, and Descriptors is actually an attribute, and according to the Bluetooth 4.2 spec (Volume 3, Part F, section 3.2.9): “The maximum length of an attribute value shall be 512 octets” which leads us to the answer: 512 bytes.

By | 2017-06-16T03:12:43+00:00 October 19th, 2016|Categories: BLE technology|Tags: , |0 Comments

About the Author:

Mohammad Afaneh
Mohammad has a strong passion for developing Bluetooth Low Energy and IoT applications. He helps developers develop for BLE faster through detailed technical tutorials, articles, and videos. He enjoys playing sports, spending time with his wife and kids, and reading non-fiction books. Connect with him on LinkedIn at https://www.linkedin.com/in/mafaneh.

Leave A Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.