Hello;
I am developing bluetooth application with arduino ide and esp32 ble development board.
And i use https://github.com/nkolban/ESP32_BLE_Ar ... s/BLE_scan code.
Mr. Kolban has developed a great application.
Need a little help.
Beacon searching run every second and I want to list devices only which starts with "A1" for UUID info. (like A1XXXX-XXXX-XXX...)
Now i can filter onResult(BLEAdvertisedDevice advertisedDevice) void but i didn't find any solution during the scan. I think if i can make filter before onresult void, maybe scan proccess run speedly.
How can i do it?
Thanks.
Filter Beacon Devices
Re: Filter Beacon Devices
As you can see here you can compare serviceUUID with some value:
https://github.com/nkolban/ESP32_BLE_Ar ... nt.ino#L78
Instead equals you can also use different string comparing functions.
https://github.com/nkolban/ESP32_BLE_Ar ... nt.ino#L78
Instead equals you can also use different string comparing functions.
Who is online
Users browsing this forum: MicroController and 92 guests