Open mathias172 opened 3 years ago
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:
client.println((String("innen:")+innen));
Interesting, thanks for help but I'm sorry, that was not the solution. Now my output is:
: eco: n: turbo: eco: ter: lamelle: s: ter:
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.