Aypac / Arduino-TR-064-SOAP-Library

Arduino library for the TR-064 protocol, most commonly used by the Fritz!Box router API
Other
63 stars 21 forks source link

Not building with newer versions of HTTPClient #53

Closed MagEis closed 2 years ago

MagEis commented 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

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);

Aypac commented 2 years ago

Thanks. If I find some time I'll try to update it accordingly or feel free to submit a pull request.

Aypac commented 2 years ago

Related to #40. Should be fixed in 3fb0d1b.