No I mean "hard reset", as strange as it may sound. I have tried this many times and I was really surprised the first time I saw it.
With beta7 I have seen sometimes that we succeed to connect after a "Connection failed" or "Connection timeout" which I don't think I saw before beta7. But in most cases we cannot connect to any devices after this. Another difference is that fault number two, where we no longer can discover any devices, doesn't necessarily come after exception "The connection failed due to an unknown error" anymore. In that case we ususally get fewer and fewer discovered devices with each search and finally we don't get any discovered devices.
When trying to find a workaround I used the
Code: Select all
mydevices = nwork.DiscoverDevices()
instead of working with the internal cache directly and found that I didn't always get an identic copy of nwork.Devices(). I believe you fixed this in beta6 since I had this problem with the example program. Anyway, here I had the same scenario. After a couple of searches mydevices started to differ from nwork.Devices() and with more searches the list of devices in mydevices shrunk until it was finally empty. Is this problem maybe related to the problem above?