Having set up my BLE gateway on an ESP32, everything is working as expected apart from the white-list or black-list, when I want to remove devices from them or clear them fully.
The last test I have done was (fully ignoring retaining messages for the time being, until I figure this out
Add one device to the white-list, so as to only get messages from it
Great, only device XX:XX:XX:XX:XX:XX gets reported, while the monitoring log also shows all other devices present, which don’t get reported.
Then I send an extended white-list
Perfect, from now on, both devices, XX:XX:XX:XX:XX:XX and YY:YY:YY:YY:YY:YY get reported by MQTT, and in the monitoring log as expected.
Now if I want to go back to only one device I tried setting the white-list again to
and the monitoring log correctly shows the new white-list command is being received, but still both previously defined devices get reported.
Ideally I would want to be able to clear devices from the white-list, or fully clear the white-list completely and use a black-list instead at certain times of the day, but currently I’m stuck with the above unexpected behaviour.
I haven’t really gone through the code yet, to see where this deletion of devices might be prevented. Is this the current expected behaviour or is it a known issue?
Any help is greatly appreciated.