How does the Control Point know if the Device disappears without saying goodbye?
|
12-10-2012, 06:59 AM
Post: #1
|
|||
|
|||
How does the Control Point know if the Device disappears without saying goodbye?
It seems that my Control Point only receives the device removed notification/callback when the Device explicitly removes itself from the network by calling DvDeviceSetDisabled.
In my device, I am catching SIGINT and SIGABRT so that if anything goes wrong, I can disable the device and clean up, and the Control Point will get the removed notification. However, if the device is simply powered off, the Control Point doesn't receive such a notification and therefore cannot pass on the news to the user that the device has gone AWOL. Should I be doing something explicitly to poll the device for it's presence? Am I missing something obvious? Or should I really be getting the removed callback/notification in this scenario? Happy for your advice... Doug |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
How does the Control Point know if the Device disappears without saying goodbye? - dough - 12-10-2012 06:59 AM
RE: How does the Control Point know if the Device disappears without saying goodbye? - simonc - 12-10-2012, 08:46 AM
RE: How does the Control Point know if the Device disappears without saying goodbye? - dough - 16-10-2012, 03:30 AM
RE: How does the Control Point know if the Device disappears without saying goodbye? - dough - 16-10-2012, 08:02 AM
RE: How does the Control Point know if the Device disappears without saying goodbye? - simonc - 16-10-2012, 08:06 AM
RE: How does the Control Point know if the Device disappears without saying goodbye? - dough - 22-10-2012, 10:55 AM
RE: How does the Control Point know if the Device disappears without saying goodbye? - simonc - 22-10-2012, 12:22 PM
|