From: Bandan D. <ba...@zo...> - 2005-07-13 05:37:38
|
Hi! I am trying to implement a upnp control point for a twonky vision media server running on linux. After retriving the device name, control URL and all, i try to browse the Content Directory using the "Browse" action using the following: ------------------------------------------------------------------------------------------------------- printf("Making XML file to send action\n"); actionNode=UpnpMakeActionFile("Browse", "urn:schemas-upnp-org:service:ContentDirectory:1",0 ,NULL); rc=UpnpSendActionAsync(ctrlpt_handle, "http://192.168.1.23:9001/ContentDirectory.xml", "urn:schemas-upnp-org:service:ContentDirectory:1", NULL, actionNode, CallBackEventHandler, NULL); ----------------------------------------------------------------------------------------------------------- Then I use the struct upnp_action_request to check the result of the action in case UPNP_CONTROL_ACTION_COMPLETE. When I check the error code in ErrCode I find it to be -113 which means that the response received from the remote side is not correct for the protocol. Can anyone please figure out where the error is? Thanks Bandan |