You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, trying in English this time. Maybe this is interesting for someone. My connection works and I can send data to the AC. What I want to do is set up an easy webserver on an ESP8266 to control the AC. Sending control signals works with that but if I want to read status and/or config of the AC the whole program is going crazy. I tried with different webservers from ESP8266WiFi.h and this one with exact same result, what's really crazy for me.
Not only that there are no values put, to whole text is messed up. My output looks like this: "rbo: an: turbo: eco: s: lamelle: dus: uefter: " but only if s1.request_status(); is called. If not the text is put out normally.
The text was updated successfully, but these errors were encountered:
Hi,
the problem is that you use the add operation on a const char *, which effective is moving the pointer in to the memory around (not what you want).
the "some text" is no Arduino String its a const char *.
try:
Hi, trying in English this time. Maybe this is interesting for someone. My connection works and I can send data to the AC. What I want to do is set up an easy webserver on an ESP8266 to control the AC. Sending control signals works with that but if I want to read status and/or config of the AC the whole program is going crazy. I tried with different webservers from ESP8266WiFi.h and this one with exact same result, what's really crazy for me.
My .ino is:
Not only that there are no values put, to whole text is messed up. My output looks like this: "rbo: an: turbo: eco: s: lamelle: dus: uefter: " but only if s1.request_status(); is called. If not the text is put out normally.
The text was updated successfully, but these errors were encountered: