官术网_书友最值得收藏!

Attribute Protocol (ATT) and Generic Attribute Profile (GATT)

Bluetooth Low Energy brought two core specifications and every Low Energy profile is supposed to use them. Attribute Protocol and Generic Attribute Profile.

Attribute Protocol is a low-level layer that defines how to transfer data. It identifies the device discovery, reading and writing attributes on a fellow device. On the other hand, Generic Attribute Profile is built on the top of ATT to give high-level services to the manufacturer implementing LE. These services are basically used to manage the data transfer process in a more systematic way. For example, GATT defines if a device's role is going to be Server or Client.

An interesting thing about ATT and GATT is that they are not transport-layer specifications, that means that they can be implemented on BR/EDR or LE. GATT is a mandatory entity in LE and used to discover services and characteristics. The GATT server listens to an ATT requests and confirmations sent by GATT client. GATT server stores, process and transfer the data to the client. Another role of the GATT is that it defines the data arrangement on the server side so that the client can read it accordingly. The data transfer between GATT server and GATT client is called an "Attribute". An attribute is uniquely identified by a Universally Unique Identifier (UUID) which is 128 bits long string ID.

The Bluetooth system consists of four base layers. Radio (Physical layer), Baseband, Link Layer, and L2CAP.
More information about the working on these layers can be found in the core specification document: https://www.bluetooth.com/specifications/adopted-specifications.

主站蜘蛛池模板: 雅江县| 富阳市| 静安区| 屏边| 射阳县| 平乡县| 五指山市| 平和县| 丰县| 喜德县| 塔河县| 上蔡县| 昌平区| 吉水县| 陆河县| 墨玉县| 丹东市| 封丘县| 延长县| 馆陶县| 白城市| 平江县| 灵台县| 麻阳| 建始县| 蓬溪县| 华池县| 苍梧县| 雷州市| 平顶山市| 兰考县| 平阴县| 湖口县| 扎鲁特旗| 务川| 公安县| 呼伦贝尔市| 江西省| 乌鲁木齐市| 韩城市| 东源县|