Skip to content Skip to sidebar Skip to footer

Problem With Getting List Of Hci Devices From Driver In Android

I have to work with HCI device of Android, so I try to implement a simple code for get the number of bluetooth device: ... struct hci_dev_req *dr; int sk = socket(AF_BLUETOOTH, SO

Solution 1:

Ok, I find the reason: device won't answer to simple user (and doesn't matter what permissions did you ask in program manifest). You can directly speak to device only if you are root (or from kernel mode). That means you cannot use devices directly from general applications. Very sad :(


Post a Comment for "Problem With Getting List Of Hci Devices From Driver In Android"