Total Arduino Noob here.
Spent a lot of time figuring out why I could use sendValue once in a Sketch, but any additional calls would stop the program from running.
Looking at the library, it looks like there is some bug in the sendValue code, in the section near the end of the function.
I commented out the following…
/*while(!_client.available());
while (_client.available()) {
char c = _client.read();
Serial.print©;
}
//Serial.flush(); */
This now allows me to get 2 calls (send 2 values) in a sketch working, but as I am a noob to Arduino I can’t seem to go any further. I have 3 values to send in each run, but adding in another call exhibits the hanging behavior again.
I am guessing the function is coughing somewhere in the RunShell process and running off into the weeds under multiple calls.
I think I have done about as much as I can alone, and so submit this for discussion. Can anyone offer further guidance?
Thanks!