Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
Tips:
For a full reference visit the Markdown syntax.
Posted by @user132204
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.
Hello
I am trying to connect a RAK5010 module using a Hologram Sim card. I have had no luck so far getting it to send or receive messages but it does say that it is connected to the internet when I have used the example on the Espruino for connecting.
One possibility I have thought of is that the roaming settings aren't correctly setup.
The code to set the at commands is as follows:
var at;
console.log("Turning Cell on");
require("iTracker").setCellOn(true, function(usart) {
console.log("Cell now on");
at = require("AT").connect(usart);
at.debug(); // this enables printing of data received for debug purposes
at.cmd("AT+QCFG=\"roamservice\",2\r\n",1000,function cb(d) {
});
});
I wasn't exactly sure about how to send the
at.cmd("AT+QCFG=\"roamservice\",2\r\n",1000,function cb(d) {
line as the at command included "roamservice" in between outer " ".
Are there any areas that could be a problem with this code or with what I am doing with the RAK5010 setup?