Im going to be building in a basic check to see if the module is on.
You should be able to send the "AT" command and receive an "OK" back. This can then probably be expanded out for most other commands. When a command is issued we can check the response against the expected response and start to handle errors better then.
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.
Im going to be building in a basic check to see if the module is on.
You should be able to send the "AT" command and receive an "OK" back. This can then probably be expanded out for most other commands. When a command is issued we can check the response against the expected response and start to handle errors better then.