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

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.

主站蜘蛛池模板: 大邑县| 三亚市| 罗甸县| 广安市| 岗巴县| 仙桃市| 鹿泉市| 大厂| 合江县| 南木林县| 甘德县| 哈尔滨市| 怀仁县| 荔浦县| 堆龙德庆县| 武穴市| 大英县| 宝坻区| 金塔县| 麻江县| 道孚县| 郁南县| 吉林省| 宜兰市| 从化市| 霍邱县| 浙江省| 独山县| 西畴县| 海林市| 柳江县| 民勤县| 鹰潭市| 永州市| 延川县| 乐都县| 昆明市| 西华县| 西乌珠穆沁旗| 镇宁| 石棉县|