I have problems with the Cellular Radio Module.
When an sms arrives, I get an ‘System.ArgumentOutOfRangeException’.
Very rarely, it’s successfull. But when I’ve got the exception then the program is completely broken.
The reason in code:
while (serialLine.BytesToRead > 0)
response += (char) serialLine.ReadByte();
This loop is left, even if still data is coming in. Probably a very small break in the serial communication?
Loader (TinyBooter) Version: 220.127.116.11
Firmware (TinyCLR) Version: 18.104.22.168
Other versions that I can check?
And how can I solve this?