I rewritten things entirely from scratch.... also with use of promises.
However, the error still occurs...
My question is whether the SIM900 receives the response string as a whole?
In the JSON response I see a AT-Command-Response (+RECEIVE,0,940:) in middle of the string.
Can this be a problem? I do not see the end of the JSON-String, so my assumption is the missing characters were subtracted by the length of the AT-Response in middle.
Can I fix this myself?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I rewritten things entirely from scratch.... also with use of promises.
However, the error still occurs...
My question is whether the SIM900 receives the response string as a whole?
In the JSON response I see a AT-Command-Response (+RECEIVE,0,940:) in middle of the string.
Can this be a problem? I do not see the end of the JSON-String, so my assumption is the missing characters were subtracted by the length of the AT-Response in middle.
Can I fix this myself?
the next call then will get stuck then.
kind regards,
Alex