• I've just turned on the modem, and sent AT, but sometimes it fails because of those messages.

    Shouldn't it be sent only on turning modem up?

    var gprs;
    Bluetooth.setConsole(true);
    var at;
    console.log("Turning Cell on");
    require("iTracker").setCellOn(true, function(usart) {
      console.log("Waiting 30 sec for GPRS connection");
      at = require('AT').connect(usart);
      at.debug();
    });
    >
    Turning Cell on
    Waiting 30 sec for GPRS connection
    ] "\r"
    ] "\nRDY\r\n"
    ] "\r\n+"
    ] "PACSP1\r\n"
    ] "\r\nR"
    ] "DY\r\n"
    ] "\r\n+"
    ] "PACSP1\r\n"
    ] "AT\r"
    ] "\r\nOK\r\n"
    >at.cmd("AT\r\n")
    ["AT\r\n"
    =undefined
    ] "\r\nR"
    ] "DY\r\n"
    ] "\r\n+"
    ] "PACSP1\r\n"
    ] "\r\nR"
    ] "DY\r\n"
    ] "\r\n+"
    ] "PACSP1\r\n"
    

    I can't connect to the network anymore.

    It only happens when the SIM card is present.
    What do i do?

About

Avatar for user99293 @user99293 started