diff --git a/monitor/bt.h b/monitor/bt.h
index 3f854c3..e8a1d93 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
uint8_t codec_cfg[0];
} __attribute__ ((packed));
+struct bt_hci_rsp_le_setup_iso_path {
+ uint8_t status;
+ uint16_t handle;
+} __attribute__ ((packed));
+
#define BT_HCI_CMD_LE_REMOVE_ISO_PATH 0x206f
#define BT_HCI_BIT_LE_REMOVE_ISO_PATH BT_HCI_CMD_BIT(43, 4)
struct bt_hci_cmd_le_remove_iso_path {
diff --git a/monitor/packet.c b/monitor/packet.c
index 22588a3..3b9c065 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
cmd->codec_cfg_len);
}
+static void le_setup_iso_path_rsp(const void *data, uint8_t size)
+{
+ const struct bt_hci_rsp_le_setup_iso_path *rsp = data;
+
+ print_status(rsp->status);
+
+ if (size == 1)
+ return;
+
+ print_field("Handle: %d", le16_to_cpu(rsp->handle));
+}
+
static void le_remove_iso_path_cmd(const void *data, uint8_t size)
{
const struct bt_hci_cmd_le_remove_iso_path *cmd = data;
"LE Setup Isochronous Data Path",
le_setup_iso_path_cmd,
sizeof(struct bt_hci_cmd_le_setup_iso_path),
- true, status_rsp, 1, true },
+ true, le_setup_iso_path_rsp,
+ sizeof(struct bt_hci_rsp_le_setup_iso_path),
+ true },
{ BT_HCI_CMD_LE_REMOVE_ISO_PATH, BT_HCI_BIT_LE_REMOVE_ISO_PATH,
"LE Remove Isochronous Data Path",
le_remove_iso_path_cmd,