Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Find all posts by this user


Messages In This Thread
How does the Control Point know if the Device disappears without saying goodbye? - dough - 12-10-2012 06:59 AM

Forum Jump: