![]() |
[Solved] Check if cpDevice is valid - Printable Version +- OpenHome Forum (http://forum.openhome.org) +-- Forum: OpenHome (/forumdisplay.php?fid=1) +--- Forum: Net (/forumdisplay.php?fid=5) +--- Thread: [Solved] Check if cpDevice is valid (/showthread.php?tid=1345) |
[Solved] Check if cpDevice is valid - ChriD - 30-01-2015 08:15 PM Hi, Ive got some Problem checking if the cpDevice is valid. Assume i found some upnp devices. Then the UPNP devices are going offline without saying "byebye". The CPDevice wont be "removed" because "onDeviceLost" is not triggered. How do i check if this device/service is valid? If i do actions on this device of course i get exceptions! (dont no what kind of, it ist says "abort()") Or how can i catch this "iError" exceptions? EDIT: Okay exceptions are OpenHome::Exceptions Code: void SyncProxyAction::Wait() Thanks for Info ![]() Okay... i do not really need this validation if i can catch the exceptions! |