-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to scan and detect smartphones? #1183
Comments
Yes, if your laptop can detect smartphone then esp32 can detect it too, as long as its BLE nor classic bluetooth. For classic bluetooth you need different library, if any exist, or esp-idf API. |
Thank you for your reply Chegewara. I am testing with four different smatphones: OPPO Find X5 Lite: BLE 5.2 And with two different boards, one with an ESP32 (Lilygo T-Call SIM800L) and ESP32S3 (Heltec Wireless Stick Lite(V3)) I can't detect any of them. As I said I have used the "BLE_Scan" sketch example of the Arduino IDE (Neil Kolban), the modified NimBLE library (h2zero) and the bt_discover of the Espressif IDE. I have also been "playing" with the setPower function, with no result. Let's see if you can think what could be happening. Thank you very much. Regards |
There is simple way to test it. |
Thanks again for your reply, chegewara. If I understood you correctly, please correct me if I'm wrong, is that I installed on one of my smartphones the application, nRF connect to configure in the "advertiser" tab that this behaves in this way. I have done that, and then if it is detected by the BLEscanner of my ESP32, but I do not know or do not understand if that helps me at all. What I am trying or want to know if it is possible, is if my ESP32 is able to detect my smartphones as well as my laptop or other smartphones between them, without the need to install anything additional on them. My laptop (and any other) detects my smartphones if they have the BLE enabled (without the need of nRF connect), so I understand, that the ESP32 should also, but I can't find the way. Thanks again. |
This is only to show you that you need 3rd party app on smartphone to advertise BLE packets. Alse, like i said, laptop most likely can detect classic bluetooth. |
Hello again chegewara, But that is not what you describe what is happening. My laptop, any laptop I test or any other smartphone DOES detect my smartphones when I activate the BLE in them without the need of any application like nRF connect, which is not happening with the ESP32. Therefore, it leads me to the conclusion that ESP32 does not detect smartphones EVER (if they do not have a third party application) that with the code and libraries I am using is not enough. Any other ideas. I will continue to investigate. Thank you very much. |
Sorry, but i have no idea how to explain it to you, since you dont read my words. You cant detect smartphone if it wont advertise itself. |
Hello everyone,
I have been testing (a lot) and reading a lot about BLE scanning and I am unable to detect any smartphone, with BLEScan or NimBLEScan sketches. At some points I have come to think that this is not possible, since from what I have read client devices, like smartphones, do not emit almost never to save power, but at least it should detect them when BLE is activated on them, as happens with any laptop, which does detect smartphones when you activate BLE.
I have gone through all the posts on this forum and Neil Kolban's post and have not found the solution. I have been playing with the setPower() function, without success, it does not detect any smartphone.
So my question is simple, is it possible to detect them somehow with the ESP32 or is there any reason why it does not detect them. As I said at the beginning, if my laptop detects smartphones, I understand that ESP32 should too, but surely I'm missing something.
Thank you very much in advance.
Regards
The text was updated successfully, but these errors were encountered: