(Un)Subscribe in C API?
|
10-07-2012, 04:46 AM
Post: #1
|
|||
|
|||
(Un)Subscribe in C API?
I am trying to subscribe to a UPnP Event when an evented property changes. Following "Eventing Specific Properties" in the ohNet_ControlPointStack guide, I have:
The call back is not being triggered, although I can see the event broadcast by my Upnp device by using Device Spy. The guide suggests that I should be calling Subscribe for the proxy, but I cannot find that API call anywhere in the C API guide. Am I missing the Subscribe step or is it not necessary when using the C API? ...Or perhaps the call back is not occurring for the same reason I cannot get a response from invoking a Upnp action? Can I generate a trace for property eventing? Doug |
|||
10-07-2012, 07:53 AM
Post: #2
|
|||
|
|||
RE: (Un)Subscribe in C API?
(10-07-2012 04:46 AM)dough Wrote: The guide suggests that I should be calling Subscribe for the proxy, but I cannot find that API call anywhere in the C API guide. Am I missing the Subscribe step or is it not necessary when using the C API? You should call CpProxySubscribe (in OpenHome/Net/C/CpProxy.h) after the other setup. |
|||
« Next Oldest | Next Newest »
|