monitor: Add basic decoding for Mesh Beacon

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

This adds basic decoding for Mesh Beacon packets such as:

> HCI Event: LE Meta Event (0x3e) plen 37 LE Advertising Report (0x02) Num reports: 1 Event type: Non connectable undirected - ADV_NONCONN_IND (0x03) Address type: Random (0x01) Address: 36:47:34:FC:63:DA (Non-Resolvable) Data length: 25 Mesh Beacon: 00dddd0000000000000000000000000000000000000000 Unprovisioned Device Beacon (0x00) Device UUID: dddd00000000000000000000000000 OOB Information: 0x0000 URI Hash: 0x0000 RSSI: -28 dBm (0xe4)

< HCI Command: LE Set Advertising Data (0x08|0x0008) plen 32 Length: 24 Mesh Beacon: 0100c7005d732329eadf000000003e60e50797ef6d5c Secure Network Beacon (0x01) Flags: 0x01 Network Id: 00c7005d732329ea IV Index: 0xdf000000 Authentication Value: 003e60e50797ef6d

0ba1268 monitor: Add basic decoding for Mesh Beacon
monitor/packet.c | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 83 insertions(+), 1 deletion(-)

Upstream: git.kernel.org


  • Share