码迷,mamicode.com
首页 > 其他好文 > 详细

蓝牙 BLE GATT 剖析(一)

时间:2016-05-31 06:32:02      阅读:803      评论:0      收藏:0      [点我收藏+]

标签:

一.概述

The Generic Attribute Profile (GATT) defines a service framework using the 
Attribute Protocol. This framework defines proceduresand formats of services 
and their characteristics. The proceduresdefined include discovering, reading, 
writing, notifying and indicating characteristics, as well asconfiguring the 
broadcast of characteristics.

二.架构

技术分享

三.ATT属性table

技术分享

技术分享

四.GATT profile层次

技术分享

1.SERVICE DEFINITION

技术分享

2.INCLUDE DEFINITION

技术分享

3.CHARACTERISTIC DEFINITION

1)Characteristic Declaration

技术分享
Characteristic Declaration
技术分享

2)Characteristic Value Declaration

技术分享

3)Characteristic Descriptor Declarations

①Characteristic Extended Properties
技术分享
②Characteristic User Description
技术分享
③Client Characteristic Configuration
技术分享
④Server Characteristic Configuration
技术分享
⑤Characteristic Presentation Format
技术分享
⑥Characteristic Aggregate Format

技术分享

4.SUMMARY OF GATTPROFILE ATTRIBUTE TYPES

技术分享

五.GATT FEATURE REQUIREMENTS

There are 11 features defined in the GATT Profile:
1. Server Configuration
2. Primary Service Discovery
3. Relationship Discovery
4. Characteristic Discovery
5. Characteristic Descriptor Discovery
6. Reading a Characteristic Value
7. Writing a Characteristic Value
8. Notification of a Characteristic Value
9. Indication of a Characteristic Value
10.Reading a Characteristic Descriptor
11.Writing a Characteristic Descriptor
具体GATT feature交互参照core4.2

GATT PROCEDURE MAPPING TO ATT PROTOCOL OPCODES

技术分享

技术分享

技术分享

技术分享

蓝牙 BLE GATT 剖析(一)

标签:

原文地址:http://blog.csdn.net/xiaoxiaopengbo/article/details/51542608

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!