monitor/qmp: Update comment for commit 4eaca8de268
[qemu/armbru.git] / include / sysemu / bt.h
blob2fd8c0f14bfdd2243e83925c8dbb4d7dd6670511
1 #ifndef SYSEMU_BT_H
2 #define SYSEMU_BT_H
4 /* BT HCI info */
6 typedef struct HCIInfo {
7 int (*bdaddr_set)(struct HCIInfo *hci, const uint8_t *bd_addr);
8 void (*cmd_send)(struct HCIInfo *hci, const uint8_t *data, int len);
9 void (*sco_send)(struct HCIInfo *hci, const uint8_t *data, int len);
10 void (*acl_send)(struct HCIInfo *hci, const uint8_t *data, int len);
11 void *opaque;
12 void (*evt_recv)(void *opaque, const uint8_t *data, int len);
13 void (*acl_recv)(void *opaque, const uint8_t *data, int len);
14 } HCIInfo;
16 /* bt-host.c */
17 struct HCIInfo *bt_host_hci(const char *id);
18 struct HCIInfo *qemu_next_hci(void);
20 #endif