diff --git a/monitor/bt.h b/monitor/bt.h
index 849ed86..c9625e8 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
uint8_t map[10];
} __attribute__ ((packed));
+#define BT_HCI_EVT_INQUIRY_RESPONSE_NOTIFY 0x56
+struct bt_hci_evt_inquiry_response_notify {
+ uint8_t lap[3];
+ int8_t rssi;
+} __attribute__ ((packed));
+
#define BT_HCI_EVT_AUTH_PAYLOAD_TIMEOUT_EXPIRED 0x57
struct bt_hci_evt_auth_payload_timeout_expired {
uint16_t handle;
diff --git a/monitor/packet.c b/monitor/packet.c
index 6ec7d9b..8063196 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
print_channel_map(evt->map);
}
+static void inquiry_response_notify_evt(const void *data, uint8_t size)
+{
+ const struct bt_hci_evt_inquiry_response_notify *evt = data;
+
+ print_iac(evt->lap);
+ print_rssi(evt->rssi);
+}
+
static void auth_payload_timeout_expired_evt(const void *data, uint8_t size)
{
const struct bt_hci_evt_auth_payload_timeout_expired *evt = data;
slave_page_response_timeout_evt, 0, true },
{ 0x55, "Connectionless Slave Broadcast Channel Map Change",
slave_broadcast_channel_map_change_evt, 10, true },
- { 0x56, "Inquiry Response Notification" },
+ { 0x56, "Inquiry Response Notification",
+ inquiry_response_notify_evt, 4, true },
{ 0x57, "Authenticated Payload Timeout Expired",
auth_payload_timeout_expired_evt, 2, true },
{ 0xfe, "Testing" },