You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I'm not sure the module itself contains a method, but if you know the AT command you send it's easy enough to add one - the code itself is in­js

    For example:

    // there is already a getVersion function, but you can see how you might change it
    gprs.getVersion = function(callback) {"AT+GMR\r\n", 1000, function(d) {

    If you don't want to/can't change it, does getIP not work? I guess if there is no connection you won't have an IP?


Avatar for Gordon @Gordon started