Replace fixed list of devices by a BLE scan#20
Replace fixed list of devices by a BLE scan#20Djebouh wants to merge 3 commits intosidddy:masterfrom
Conversation
|
Now it just tries to process all the flora devices around... is it not better to scan and then process only the one in the list? I did that for my local version. |
|
In my case, it is easier to have a full dynamic list. I don't have neighbor using Flora, and I could filter out in MQTT if need be. I prefer to have the config in the MQTT (that I can access remotely), than on the ESP (which I need to connect to). |
|
hi, |
The list of devices is now dynamic. The BLE scan has a duration of BLE_SCAN_DURATION. It looks for devices with root UUID matching 0xfe95 (flora device identifier).
Then the initial processing is applied on each device.
This should address issue #19