Advertising and Scan Response Data Format
2015-12-10 21:14
387 查看
The format of Advertising data and Scan Response data is shown in Figure
11.1 . The data consists of a significant part and a non-significant part. The sig
nificant part contains a sequence of AD structures. Each AD structure shall
have a Length field of one octet, which contains the Length value, and a Data
field of Length octets. The first octet of the Data field contains the AD type field
The content of the remaining Length – 1 octet in the Data field depends on the
value of the AD type field and is called the AD data. The non-significant part
extends the Advertising and Scan Response data to 31 octets and shall con-
tain all-zero octets.
If the Length field is set to zero, then t he Data field has zero octets. This shall
only occur to allow an early termination of the Advertising or Scan Response
data
Only the significant part of the Advertising or Scan Response data needs to be
sent over the air.
The Advertising and Scan Response data is sent in advertising events. The
Advertising Data is placed in the AdvData field of ADV_IND,
ADV_NONCONN_IND, and ADV_SCAN_I ND packets. The Scan Response
data is sent in t he ScanRspData field of SCAN_RSP packets
All AD types are listed in the Bluetooth Assigned Numbers document.
https://www.bluetooth.org/zh-cn/specification/assigned-numbers/generic-access-profile
11.1 . The data consists of a significant part and a non-significant part. The sig
nificant part contains a sequence of AD structures. Each AD structure shall
have a Length field of one octet, which contains the Length value, and a Data
field of Length octets. The first octet of the Data field contains the AD type field
The content of the remaining Length – 1 octet in the Data field depends on the
value of the AD type field and is called the AD data. The non-significant part
extends the Advertising and Scan Response data to 31 octets and shall con-
tain all-zero octets.
If the Length field is set to zero, then t he Data field has zero octets. This shall
only occur to allow an early termination of the Advertising or Scan Response
data
Only the significant part of the Advertising or Scan Response data needs to be
sent over the air.
The Advertising and Scan Response data is sent in advertising events. The
Advertising Data is placed in the AdvData field of ADV_IND,
ADV_NONCONN_IND, and ADV_SCAN_I ND packets. The Scan Response
data is sent in t he ScanRspData field of SCAN_RSP packets
All AD types are listed in the Bluetooth Assigned Numbers document.
https://www.bluetooth.org/zh-cn/specification/assigned-numbers/generic-access-profile
相关文章推荐
- strip_tags去掉HTML标签失败
- C#获取当前应用程序所在路径及环境变量
- RIP协议无法适应网络环境
- 猿猴UI之沙盒机制
- 动态数组的实现 及 迭代器
- ADO.NET(数据库访问技术)
- Bash环境配置文件
- 定义工具类中函数随时打开某Activity
- 如何选择正确的HTTP状态码
- Dynamics CRM2016 新功能之Solution enhancements
- Dynamics CRM2016 新功能之Solution enhancements
- Dynamics CRM2016 新功能之Solution enhancements
- Dynamics CRM2016 新功能之Solution enhancements
- 简单典型贪心---(解题报告)HDU2037---今年暑假不AC
- iOS 遇到过的bug(未完待续)
- LocalDB连接失败
- 限制内部地址NAT转换条目
- python 打开图像
- 对象池 c++11
- ZZULIOJ 1816: 矩形 【矩形重叠面积的计算(区分相离与相交)】