MDBT42 http module using sim808

Posted on
of 2
/ 2
  • 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?

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

MDBT42 http module using sim808

Posted by Avatar for michael_101 @michael_101