-
I'm trying to implement a BLE scan to find a specific device with a ESP32-S3 using this crate. The steps I'm taking using HCI-commands (very close to this code -- thank to @alexiionescu for pointing me there):
Then I'm looping over A Mac running Bluetility gets quite a few peripherals sending names, including the device I'm trying to find. Comparing the raw HCI packets (their length is plausible) to what I'm parsing I don't know what I'm doing wrong on that part (yet). Before going there: Is there anything in the initiation that I might be missing (specific to this crate or the ESP32-S3) or that is not yet implemented? (Saw that an scanning example using HCI / Bluetooth client example already was requested: https://github.com/esp-rs/esp-wifi/issues/219) Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Probably the code you are using is just getting the advertisement data but doesn't request/receive extended scan response data. ( See BLUETOOTH CORE SPECIFICATION Version 5.3). You can try to have e.g. the |
Beta Was this translation helpful? Give feedback.
Probably the code you are using is just getting the advertisement data but doesn't request/receive extended scan response data. ( See BLUETOOTH CORE SPECIFICATION Version 5.3). You can try to have e.g. the
ble
example running on another ESP32 and see if you get more in the basic advertising data