Closed MagEis closed 2 years ago
The library is not building with newer versions of the HTTPClient-lib (or at least thats my guess). This can be fixed by adding a Wifi client to line 398 in tr064.cpp
String TR064::httpRequest(String url, String xml, String soapaction, bool retry) { deb_println("[HTTP] prepare request to URL: http://" + _ip + ":" + _port + url, DEBUG_INFO); WiFiClient wifiClient; HTTPClient http; http.begin(wifiClient, _ip, _port, url);
Thanks. If I find some time I'll try to update it accordingly or feel free to submit a pull request.
Related to #40. Should be fixed in 3fb0d1b.
The library is not building with newer versions of the HTTPClient-lib (or at least thats my guess). This can be fixed by adding a Wifi client to line 398 in tr064.cpp
include`
String TR064::httpRequest(String url, String xml, String soapaction, bool retry) { deb_println("[HTTP] prepare request to URL: http://" + _ip + ":" + _port + url, DEBUG_INFO); WiFiClient wifiClient; HTTPClient http; http.begin(wifiClient, _ip, _port, url);