Maybe the "#define lmp_bredr_capable(dev) 0" also work. Hci_req_add(req, HCI_OP_WRITE_CA_TIMEOUT, 2, ¶m) hci_req_add(req, HCI_OP_SET_EVENT_FLT, 1, &flt_type) Hci_req_add(req, HCI_OP_READ_CURRENT_IAC_LAP, 0, NULL) Hci_req_add(req, HCI_OP_READ_NUM_SUPPORTED_IAC, 0, NULL) Hci_req_add(req, HCI_OP_READ_VOICE_SETTING, 0, NULL) ![]() Hci_req_add(req, HCI_OP_READ_LOCAL_NAME, 0, NULL) ![]() Hci_req_add(req, HCI_OP_READ_CLASS_OF_DEV, 0, NULL) Hci_req_add(req, HCI_OP_READ_BUFFER_SIZE, 0, NULL) * Read Buffer Size (ACL mtu, max pkt, etc.) */ static void bredr_setup(struct hci_request *req) I solved my problem by comment the lines 296 and 297 of hci_core.c(plus patches). I don't know how to do that #define lmp_bredr_capable(dev). "Changing the #define lmp_bredr_capable(dev) in hci_core.h to return false did the trick." I: If#=0x1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusbīut even after patch, I'm getting the error below via hcidump: HCI Event: Command Complete (0x0e) plen 4 ![]() I: If#=0x0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I've got a fake dongle BT 4.0 from china and try the procedure from this thread: Bluetooth dongle problem Distributor ID: Ubuntuĭevice: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |