bt-host.c | 2 * Wrap a host Bluetooth HCI socket in a struct HCIInfo. 31 # include <bluetooth/hci.h> 39 struct HCIInfo hci; member in struct:bt_host_hci_s 46 static void bt_host_send(struct HCIInfo *hci, 49 struct bt_host_hci_s *s = (struct bt_host_hci_s *) hci; 67 static void bt_host_cmd(struct HCIInfo *hci, const uint8_t *data, int len) 69 bt_host_send(hci, HCI_COMMAND_PKT, data, len); 72 static void bt_host_acl(struct HCIInfo *hci, const uint8_t *data, int len) 74 bt_host_send(hci, HCI_ACLDATA_PKT, data, len); 77 static void bt_host_sco(struct HCIInfo *hci, const uint8_t *data, int len [all...] |