-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't access services apart from urn:dslforum-org:service #69
Comments
Hey, |
Hey @overwerk The TR-064 protocol is based on the UPnP standard, but the upnp addresses are not part of it.
But since the SOAP request is the same, I created a method that handles this. you can try this in the branch develop. |
Thank you, I tested it and it seems to work, but I get this error message too:
Request I made:
Strangely it seems to work though, I get the result... EDIT: Nevermind.. I get the same error message with the old configuration. I dig deeper when I have the time. |
Hi,
I tried for a couple of days to get the external IPv6 address of my FB 7490 via TR064 on my ESP32.
The IPv6 is available here:
TR064connection.action("urn:schemas-upnp-org:service:WANIPConnection:1", "X_AVM_DE_GetExternalIPv6Address", params, 0, req, 1, "/igdupnp/control/WANIPConn1");
The problem is, in the function "action_raw" the const _servicePrefix will be added infront of every service name.
_servicePrefix = "urn:dslforum-org:service:";
Therefore I couldn't access "urn:schemas-upnp-org:service:WANIPConnection:1", because in the end it was always "urn:dslforum-org:service:urn:schemas-upnp-org:service:WANIPConnection:1" and returned a 500er http request error.
In the same function you call "cleanOldServiceName", that strips away the prefixes of the services, if provided and later you use above mentioned const to add the prefixes.
Maybe it possible that cleanOldServiceName just adds the prefix, if not provided (service not starting with "urn:" than add it here, otherwise keep the servicename. Afterwards you can get rid of all the _servicePrefix concats in "action_raw".
Best regards and thank you for the library!
The text was updated successfully, but these errors were encountered: