![]() ![]() Therefore, once a connection is made, there is no need to continue advertising. Most devices will not be advertising once they are connected, because the whole purpose of advertising is to invite connections from remote devices. This depends on the Bluetooth hardware you're scanning for. So how can we get the list of devices which are in the vicinity and connected to some other devices? So is it possible to sniff ble packets in the air and figure out all devices present in the vicinity?Īs per my understanding, advertisements are unencrypted but once the connection is established then all the communication between connected devices is encrypted. But while going through videos about BLE I found video (screenshot attached)Īnd in this video around 05:00, application is able to show nearby devices even when they are connected. I have bluetooth earphones which are connected to my mobile and after that if I perform hcitool lescan from my laptop then I am not getting earphones in scanned devices. However, I am not able to scan devices which are already connected to some other device. In scan response I am able to get name, bluetooth address, rssi. For this I used following commands on my laptop: hcitool lescan & ![]() ![]() I can send scan requests and receive scan response from devices which are in discoverable mode. I am working on a project which involves scanning all the BLE devices which are present in the vicinity.
0 Comments
Leave a Reply. |