NEEOInc / neeo-sdk

NEEO Brain SDK
https://neeoinc.github.io/neeo-sdk/
MIT License
48 stars 17 forks source link

Multi-devices driver and "Add device" feature: bug at the search step. #178

Open yoctopuce opened 5 years ago

yoctopuce commented 5 years ago

I wrote a driver that can implement a lot devices at the same time, and when I tried to add them through the NEEO android app, at the search step, I noticed some strange behavior

  1. Not all devices matching the searching string are returned.
  2. Some returned devices don't match the search string.
  3. Sometime, the search for devices never ends.

I wrote a simple code reproducing point 1 and 2 (see attachment), just try to add devices in the app by searching for "yoctopuce" and you'll only get matches for devices 0 , 1 , 10..17 + some LG_GENERIC_TVs.

yoctopuce-search

Source code: neeo_multi-devices-driver.zip

Point 3 is quite hard to reproduce with simple code.