Closed rogerv95 closed 2 years ago
You changed the build options, but this does not affect runtime settings once those are stored permanent in NVS of the board. See readme. To clear board NVS before uploading a firmware with modified build options, use pio run -t erase
I've noticed a weird situation with the boards I'm using (ttgo 2.1). Changing the sniffing parameters doesn't produce any effect in the board. The display messages change but I think it's confusing. Behaviour as follows:
Change BLECOUNTER to 1 / WIFICOUNTER to 0 Bluetooth sniffing works shows bluetooth devices, displays on lcd BLTH:off
Change BLECOUNTER to 0 / WIFICOUNTER to 1 Bluetooth sniffing keeps working because I see the same number of devices displayed and wifi devices. LCD displays wifi: off
In both cases, or with both set to 1 I always get the same reading for BLE devices even with it turned off. I've checked with two different boards running different configurations (one with ble 1 and other 0) and it shows exactly the same number of devices.