linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] monitor: Print EIR of Extended Advertisement Report
@ 2021-07-15  0:35 Sonny Sasaka
  2021-07-15  1:26 ` [BlueZ] " bluez.test.bot
  0 siblings, 1 reply; 4+ messages in thread
From: Sonny Sasaka @ 2021-07-15  0:35 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Sonny Sasaka

It's useful to be able to see Extended Adv's EIR flags just like the
legacy Adv.

Change-Id: I4805e589837733e7ecf9d33218e4135e8f822a7c
---
 monitor/packet.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/monitor/packet.c b/monitor/packet.c
index fbde71101..51c0bacae 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -10602,6 +10602,7 @@ static void le_ext_adv_report_evt(const void *data, uint8_t size)
 		print_field("  Data length: 0x%2.2x", report->data_len);
 		data += sizeof(struct bt_hci_le_ext_adv_report);
 		packet_hexdump(data, report->data_len);
+		print_eir(data, report->data_len, true);
 		data += report->data_len;
 	}
 }
-- 
2.31.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-29 21:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15  0:35 [PATCH BlueZ] monitor: Print EIR of Extended Advertisement Report Sonny Sasaka
2021-07-15  1:26 ` [BlueZ] " bluez.test.bot
2021-07-29 17:51   ` Sonny Sasaka
2021-07-29 21:21     ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).