-
Notifications
You must be signed in to change notification settings - Fork 21
Description
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!