esp8266-yeelight-switch
esp8266-yeelight-switch copied to clipboard
Scan results come unordered
The Discovery results are printed in order received, which is pretty random. Maybe make some sorting?
To make this working, I prefer to wait for a new release of LinkedList library (current is 1.2.3), which includes support for sort() function. It is still possible to do without, but I would need to add my own sorting function.
In v2.0.0 the LinkedList is gone in favor of std::vector
. Still, sorting has not been added just yet.