• 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",1­000,function cb(d) {

    if (d === undefined || d == "ERROR") {
      console.log("Error");
    } else{
      console.log(d);
    } 
    

    });
    });

    I wasn't exactly sure about how to send the
    at.cmd("AT+QCFG=\"roamservice\",2\r\n",1­000,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?

About

Avatar for user132204 @user132204 started