summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorYao Xiao <xiaoyao@rock-chips.com>2022-10-22 11:13:33 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-10-24 12:44:09 -0700
commit6899322b68e546b545ce3f6db1c569c64a90fdd7 (patch)
treee193bb87d20e9b764712053b59fe039108a9adb4 /monitor
parentc8836711ad0725fc780dd999784ea169a344734b (diff)
downloadbluez-6899322b68e546b545ce3f6db1c569c64a90fdd7.tar.gz
monitor: Ellisys: Add iso packet support
Ellisys Bluetooth Analyzer Injection API Services.pdf HCI Packet Type Object Value HCI Packet Type 0x05 HCI ISO Data (host to controller) 0x85 HCI ISO Data (controller to host)
Diffstat (limited to 'monitor')
-rw-r--r--monitor/ellisys.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/monitor/ellisys.c b/monitor/ellisys.c
index 61ac24c23..56d280e9b 100644
--- a/monitor/ellisys.c
+++ b/monitor/ellisys.c
@@ -131,6 +131,12 @@ void ellisys_inject_hci(struct timeval *tv, uint16_t index, uint16_t opcode,
case BTSNOOP_OPCODE_SCO_RX_PKT:
msg[20] = 0x83;
break;
+ case BTSNOOP_OPCODE_ISO_TX_PKT:
+ msg[20] = 0x05;
+ break;
+ case BTSNOOP_OPCODE_ISO_RX_PKT:
+ msg[20] = 0x85;
+ break;
default:
return;
}