mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-17 09:14:32 +08:00
monitor: Add structure for SCO packets
This commit is contained in:
parent
a222b8440f
commit
d0e729fd75
11
monitor/bt.h
11
monitor/bt.h
@ -104,14 +104,19 @@ struct bt_ll_reject_ind {
|
||||
#define BT_H4_SCO_PKT 0x03
|
||||
#define BT_H4_EVT_PKT 0x04
|
||||
|
||||
struct bt_hci_cmd_hdr {
|
||||
uint16_t opcode;
|
||||
uint8_t plen;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct bt_hci_acl_hdr {
|
||||
uint16_t handle;
|
||||
uint16_t dlen;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct bt_hci_cmd_hdr {
|
||||
uint16_t opcode;
|
||||
uint8_t plen;
|
||||
struct bt_hci_sco_hdr {
|
||||
uint16_t handle;
|
||||
uint8_t dlen;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct bt_hci_evt_hdr {
|
||||
|
Loading…
Reference in New Issue
Block a user