monitor: Add LE Set 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 Set Periodic Advertising Parameters LE Set Periodic Advertising Data LE Set Periodic Advertising Enable

< HCI Command: LE Set Periodic Advertising Parameters (0x08|0x003e) plen 7 Handle: 1 Min interval: 2.50 msec (0x0002) Max interval: 318.75 msec (0x00ff) Properties: 0x00ff Include TxPower Unknown advertising properties (0x00bf)

< HCI Command: LE Set Periodic Advertising Data (0x08|0x003f) plen 7 Handle: 1 Operation: Last fragment (0x02) Data length: 0x04 ff 00 ff 00 ....

< HCI Command: LE Set Periodic Advertising Enable (0x08|0x0040) plen 2 Periodic advertising: Enabled (0x01) Handle: 2

61563bd monitor: Add LE Set Periodic Advertising commands decoding
monitor/bt.h | 22 ++++++++++++
monitor/packet.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 121 insertions(+), 3 deletions(-)

Upstream: git.kernel.org


  • Share