esp8266-yeelight-switch icon indicating copy to clipboard operation
esp8266-yeelight-switch copied to clipboard

Scan results come unordered

Open denis-stepanov opened this issue 5 years ago • 2 comments

The Discovery results are printed in order received, which is pretty random. Maybe make some sorting?

denis-stepanov avatar Jan 06 '19 00:01 denis-stepanov

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.

denis-stepanov avatar Sep 20 '19 20:09 denis-stepanov

In v2.0.0 the LinkedList is gone in favor of std::vector. Still, sorting has not been added just yet.

denis-stepanov avatar Nov 28 '21 20:11 denis-stepanov