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

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.

主站蜘蛛池模板: 格尔木市| 凤翔县| 文成县| 长海县| 名山县| 庄浪县| 克山县| 忻城县| 东乌| 商洛市| 南投县| 平原县| 荔浦县| 东方市| 金川县| 万山特区| 台北县| 台湾省| 清苑县| 辛集市| 阿瓦提县| 海原县| 怀柔区| 贵南县| 临清市| 黄浦区| 怀柔区| 敦煌市| 周口市| 酉阳| 新宁县| 望奎县| 离岛区| 西平县| 时尚| 莎车县| 关岭| 南雄市| 木兰县| 北川| 分宜县|