Closed pedromancuso closed 3 years ago
Well...i added the next line into processing function: if(TCP_Flag==true){serialEvent();}
Maybe there is another better workaround or better flag to check inside if statement.
It works quite fine, it is an excelent library as it is simple and not as invasive as TinyGSM. Thanks.
I'm using your code directly into ArduinoMega. Publish is OK, but, and i'm not being able to subscribe. Also OnConnect is never called. Could you grant an example?