Parent: dba3ac80d10e2a5786b02b3685b5c4b5d5a9d4e6
Author: MichaĆ Narajowski <michal.narajowski@codecoup.pl>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2017-08-08 14:18:10
Tree: 2067e3ab446cd210bf5cba563c072bd4de594c41
monitor: Add LE Extended Advertising commands decoding This patch adds decoding for following commands: LE Set Advertising Set Random Address LE Set Extended Advertising Parameters LE Set Extended Advertising Data LE Set Extended Scan Response Data LE Set Extended Advertising Enable LE Read Maximum Advertising Data Length LE Read Number of Supported Advertising Sets LE Remove Advertising Set LE Clear Advertising Sets LE Advertising Set Terminated Event LE Scan Request Received Event < HCI Command: LE Set Advertising Set Random Address (0x08|0x0035) plen 7 Advertising handle: 0x00 Advertising random address: 0A:0B:0C:0D:0E:0F (OUI 0A-0B-0C) < HCI Command: LE Set Extended Advertising Parameters (0x08|0x0036) plen 25 Handle: 0x00 Properties: 0x0005 Connectable Directed Min advertising interval: 30.000 msec (0x0030) Max advertising interval: 60.000 msec (0x0060) Channel map: 37, 38, 39 (0x07) Own address type: Public (0x00) Peer address type: Public (0x00) Peer address: 00:11:22:33:44:55 (CIMSYS Inc) Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00) TX power: 127 dbm (0x7f) Primary PHY: LE Coded (0x03) Secondary max skip: 0x00 Secondary PHY: LE Coded (0x03) SID: 0x00 Scan request notifications: Disabled (0x00) < HCI Command: LE Set Extended Advertising Data (0x08|0x0037) plen 39 Handle: 0x00 Operation: Complete extended advertising data (0x03) Fragment preference: Fragment all (0x00) Data length: 0x23 16-bit Service UUIDs (partial): 1 entry Unknown (0x1234) 128-bit Service UUIDs (partial): 1 entry Vendor specific (0f0e0d0c-0b0a-0908-0706-050403020100) Name (short): device-name < HCI Command: LE Set Extended Scan Response Data (0x08|0x0037) plen 39 Handle: 0x00 Operation: Complete extended advertising data (0x03) Fragment preference: Fragment all (0x00) Data length: 0x23 16-bit Service UUIDs (partial): 1 entry Unknown (0x1234) 128-bit Service UUIDs (partial): 1 entry Vendor specific (0f0e0d0c-0b0a-0908-0706-050403020100) Name (short): device-name < HCI Command: LE Set Extended Advertising Enable (0x08|0x0039) plen 24 Extended advertising: Enabled (0x01) Number of sets: 2 (0x02) Entry 0 Handle: 0xff Duration: 0 ms (0x00) Max ext adv events: 0 Entry 1 Handle: 0x00 Duration: 0 ms (0x00) Max ext adv events: 1 < HCI Command: LE Remove Advertising Set (0x08|0x003c) plen 1 Handle: 1
Diffstat
| M | monitor/bt.h | | | 92 | ++++++++++++++++++++++++++++++++++++++++ |
| M | monitor/packet.c | | | 493 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 files changed, 519 insertions(+), 66 deletions(-)