Closed soef closed 8 years ago
Thanks, that works. What is the waitForNotify function for?
The waitForNotify function is to be notified, if the yamaha device was removed from power. If you call that function the callback is called when a notify messae ist send by the yamaha receiver 10-20 seconds after it gets back power. So you don't neet to try to reconnect when the yamaha device is powerless.
Can you please take care of the possibility to not catch request exceptions? My way was to use dontCatchRequestErrors. Otherwise the application will get a different exception because of a call to toString from a null object.
I added a catchRequestErrors flag, which is on true by default (97d7345) The waitForNotify seems more like a general purpose query and not something related to the yamaha discovery/api
discovery also works on windows