monitor: Add LE Periodic Advertising commands decoding

System Internals / BlueZ - Michał Narajowski [codecoup.pl] - 8 August 2017 07:18 EDT

This patch adds decoding for following commands:

LE Periodic Advertising Create Sync LE Periodic Advertising Create Sync Cancel LE Periodic Advertising Terminate Sync LE Add Device To Periodic Advertiser List LE Remove Device From Periodic Advertiser List LE Clear Periodic Advertiser List LE Read Periodic Advertiser List Size

< HCI Command: LE Periodic Advertising Create Sync (0x08|0x0044) plen 14 Filter policy: Use Periodic Advertiser List (0x01) SID: 0x02 Adv address type: Random (0x01) Adv address: 00:00:00:00:00:00 (Non-Resolvable) Skip: 0x0201 Sync timeout: 30 msec (0x0003) Unused: 0x0a

< HCI Command: LE Periodic Advertising Terminate Sync (0x08|0x0046) plen 2 Sync handle: 0x0201

< HCI Command: LE Add Device To Periodic Advertiser List (0x08|0x0047) plen 8 Adv address type: Random (0x01) Adv address: 07:06:05:04:03:02 (Non-Resolvable) SID: 0x08

< HCI Command: LE Add Device To Periodic Advertiser List (0x08|0x0047) plen 8 Adv address type: Random (0x01) Adv address: 07:06:05:04:03:02 (Non-Resolvable) SID: 0x08

3074b37 monitor: Add LE Periodic Advertising commands decoding
monitor/bt.h | 40 +++++++++++++++++++++++++
monitor/packet.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++++-----
2 files changed, 122 insertions(+), 7 deletions(-)

Upstream: git.kernel.org


  • Share