From: Tracker i. u. n. <pup...@li...> - 2008-03-01 04:12:57
|
Bugs item #1903043, was opened at 2008-02-27 10:36 Message generated for change (Comment added) made by mroberto You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=841026&aid=1903043&group_id=166957 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: upnp Group: None >Status: Closed >Resolution: Invalid Priority: 5 Private: No Submitted By: Bob Ciora (bobciora) Assigned to: Nobody/Anonymous (nobody) Summary: Services sometimes not marked 'active' Initial Comment: A service's "active" flag is not set to true *unless* UpnpAcceptSubscription(Ex) is called with a valid set of states. This is because the "active" flag is set in genaInitNotify<Ex>. The result is that later calls to UpnpNotify do *not* transmit new state changes since the "active" flag was never set. >From the looks of gena_device.c, the spirit is to set the "active" flag to true any time the application thinks that it's suitable to send some state data. So I've added "service->active = 1;" near lines 907 and 1069 (just prior to the "GetFirstSubscription()" call after a valid service has been loaded). This is a quick fix, but it works. ---------------------------------------------------------------------- >Comment By: Marcelo Roberto Jimenez (mroberto) Date: 2008-03-01 01:13 Message: Logged In: YES user_id=67568 Originator: NO Closing this item at the submitter request. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=841026&aid=1903043&group_id=166957 |