I write the example sketch to my ESP8266 board, Then it reboot all the time. I found that there is a strange problem when it ran to Serial.println(messageBuffer);
I comment it, and it works normally. I am not good at c++, so I haven't found the specific problem yet. And I'm not sure if sketch is the problem.
The main problem I find when the board reboots is that theSerial.printtries to print null strings. In that case I've used the C conditional inline if like: Serial.println(messageBuffer?messageBuffer:"NULL")
I write the example sketch to my ESP8266 board, Then it reboot all the time. I found that there is a strange problem when it ran to Serial.println(messageBuffer); I comment it, and it works normally. I am not good at c++, so I haven't found the specific problem yet. And I'm not sure if sketch is the problem.