monitor: Add basic decoding for Mesh Provisioning

System Internals / BlueZ - Luiz Augusto von Dentz [intel.com] - 21 July 2017 07:31 EDT

This adds basic decoding for Mesh Provisioning packets such as:

< HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32 Length: 24 Mesh Provision: 024874cb0003dddd0000000000000000000000000000 Link ID: 0x024874cb Transaction Number: 0 Provisioning Bearer Control (0x03) Link Open (0x00) Device UUID: 03dddd00000000000000000000000000

> HCI Event: LE Meta Event (0x3e) plen 20 LE Advertising Report (0x02) Num reports: 1 Event type: Non connectable undirected - ADV_NONCONN_IND (0x03) Address type: Random (0x01) Address: 34:11:85:DC:41:39 (Non-Resolvable) Data length: 8 Mesh Provision: 024874cb0007 Link ID: 0x024874cb Transaction Number: 0 Provisioning Bearer Control (0x03) Link Ack (0x01) RSSI: -28 dBm (0xe4)

ad0cdbc monitor: Add basic decoding for Mesh Provisioning
monitor/packet.c | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 92 insertions(+), 1 deletion(-)

Upstream: git.kernel.org


  • Share