Use VHCI to allow the host os to participate in a qemu bluetooth "vlan".

This does the reverse of bt-host.c, proxying from guest to host.
Appears to be more reliable.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5348 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2008-09-29 00:31:41 +00:00
parent 47e699dc80
commit ab2b6f507d
3 changed files with 181 additions and 1 deletions

View file

@ -115,6 +115,9 @@ struct HCIInfo *bt_new_hci(struct bt_scatternet_s *net);
/* bt-host.c */
struct HCIInfo *bt_host_hci(const char *id);
/* bt-vhci.c */
void bt_vhci_init(struct HCIInfo *info);
/* bt-hci-csr.c */
enum {
csrhci_pin_reset,
@ -167,6 +170,11 @@ enum bt_l2cap_psm_predef {
/* bt-sdp.c */
void bt_l2cap_sdp_init(struct bt_l2cap_device_s *dev);
/* bt-hid.c */
struct bt_device_s *bt_mouse_init(struct bt_scatternet_s *net);
struct bt_device_s *bt_tablet_init(struct bt_scatternet_s *net);
struct bt_device_s *bt_keyboard_init(struct bt_scatternet_s *net);
/* Link Management Protocol layer defines */
#define LLID_ACLU_CONT 0x1