Bluetooth技术学习笔记 ——广播和扫描响应数据格式

core_v5.0 vol 3. Part C Chapter 11
1. 广播和扫描响应数据格式在这里插入图片描述
  • 广播和扫描响应数据格式分为重要部分和非重要部分,重要部分包括一系列AD结构体。
  • 每个AD结构体包括长度域和数据域,第一个AD结构体的数据域包括AD类型和数据。
2 . AD类型

(1)AD type value:

AD type value AD type name
0x01 «Flags»
0x02 «Incomplete List of 16-bit Service Class UUIDs»
0x03 «Complete List of 16-bit Service Class UUIDs»
0x08 «Shortened Local Name»
0x09 «Complete Local Name»
0x0A «TX Power Level»
0x12 «Slave Connection Interval Range»
0x14 «List of 16-bit Service Solicitation UUIDs»
0x15 «List of 128-bit Service Solicitation UUIDs»
0x16 «Service Data»
0x19 «Appearance»
0x17 «Public Target Address»
0x18 «Random Target Address»
0x1A «Advertising Interval»
0x1B «LE Bluetooth Device Address»
0x1C «LE Role»
0x24 «Uniform Resource Identifier»
0x27 «LE Supported Features»
0xFF «Manufacturer Specific Data»

(2)Flags:只要任何一个bit不为0,且广播数据包是可连接的,都需要携带该字段。

  • 格式:
    在这里插入图片描述
  • 在BR/EBR物理信道上可忽略LE Limited Discoverable Mode和LE General Discoverable Mode标志。
  • 若在BR/EBR物理信道上发送该标志,则BR/EDR Not Supported设置为0。
发布了103 篇原创文章 · 获赞 41 · 访问量 8万+

猜你喜欢

转载自blog.csdn.net/u012800825/article/details/89317361