To get a response back, take a look at what I do in the module itself: https://github.com/espruino/EspruinoDocs/blob/master/modules/ATSMS.js#L111
You can use at.cmd - which sends a command and returns the response (or undefined if there was no response after a timeout)
at.cmd
undefined
@Gordon started
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.
To get a response back, take a look at what I do in the module itself: https://github.com/espruino/EspruinoDocs/blob/master/modules/ATSMS.js#L111
You can use
at.cmd
- which sends a command and returns the response (orundefined
if there was no response after a timeout)