ESP32 BLE single channel scan
Posted: Tue Jan 04, 2022 4:53 pm
Hello,
For my project, I setup a system with BLE beacons advertising on a single channel (37) to save battery power and increase the rssi consistency.
I use an ESP32-devkitc board as the BLE receiver.
Currently the ESP scans the 3 BLE channels (37, 38, 39) which generates signal loss. I would like to be able to scan only one channel. Despite my research on internet, I didn't find any way to implement such a feature.
Is there a way to use a mask/filter with the ESP32 chip to scan only channel 37 ? Or alternatively, is it possible to modify the scanning window/interval to make it channel-dependent (for e.g.: 37 = 120.000 ms | 38 = 10 ms | 39 = 10 ms) ?
Sincerely,
For my project, I setup a system with BLE beacons advertising on a single channel (37) to save battery power and increase the rssi consistency.
I use an ESP32-devkitc board as the BLE receiver.
Currently the ESP scans the 3 BLE channels (37, 38, 39) which generates signal loss. I would like to be able to scan only one channel. Despite my research on internet, I didn't find any way to implement such a feature.
Is there a way to use a mask/filter with the ESP32 chip to scan only channel 37 ? Or alternatively, is it possible to modify the scanning window/interval to make it channel-dependent (for e.g.: 37 = 120.000 ms | 38 = 10 ms | 39 = 10 ms) ?
Sincerely,