Arduino-TR-064-SOAP-Library icon indicating copy to clipboard operation
Arduino-TR-064-SOAP-Library copied to clipboard

TR064::init crashes my ESP8266

Open karcherm opened this issue 8 months ago • 0 comments

Describe the bug TR064::init fails with current ESP8266HTTPClient library.

Expected/Attempted behavior TR064::init returns if the connection is working.

Observed behavious The ESP8266 crashes and reboots.

µController Wemos D1 mini

Reason The current HTTPClient library takes a clone of the WifiConnection, and performs the HTTP interaction on that clone. You must not use &tr064connection (the original) in the xmlTakeParam functions, instead, use http.getStreamPtr() (returning the current clone). The develop branch contains working code.

karcherm avatar Apr 06 '25 19:04 karcherm