蓝牙 BLE GATT 剖析(一)

来源:互联网 发布:网络包月电话 编辑:程序博客网 时间:2024/05/29 05:03

一.概述

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

1 0
原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 宁波北仑普高差三分该怎么办 上班的地方甲醛味很重怎么办 公司不给员工交社保怎么办 户口转到学校毕业了怎么办 外地户口转到北京档案怎么办 隧道防水板过紧怎么办 到国企没报到证怎么办 车子锁了油箱盖能开怎么办 单位不接受档案和户口怎么办 完税凭证弄丢了怎么办 育种玉米公本早了怎么办 网银转账打错了怎么办 转账名字打错了怎么办 普通转账名字打错了怎么办 银行账号转错了怎么办 打款信息错了怎么办 报到证过期了档案怎么办 日本suica卡丢了怎么办 日本地铁卡丢了怎么办 极光卡五星老输怎么办 皮秒留下的色沉怎么办 鼻综合鼻内增生怎么办 做完鼻综合脸肿怎么办 上海车子卖了etc怎么办 车卖了etc设备怎么办 车卖了etc没摘怎么办 交通信息卡丢了怎么办 多囊卵巢无排卵怎么办 卵巢腹镜手术后一直出汗怎么办 双侧卵巢多囊怎么办 备孕子宫内膜厚怎么办 有成熟卵泡不破怎么办 卵泡不排萎缩了怎么办 卵泡8mm一直不长怎么办 卵泡已经长到28x19mm怎么办 多囊卵巢卵泡长不大怎么办 优势卵泡19不排怎么办 多囊卵泡不排卵怎么办 卵泡两天长2mm怎么办 子宫小43*38*26怎么办 优势卵泡打破卵针后并不破怎么办