You are reading a single comment by @net-tobi and its replies. Click here to read the full conversation.
  • Hi Gordon... It is annoying... Again problems with GPRS. When the sim900 is ready for receiving data after AT+CIPSEND it sends:

    ] "\r\n> "
    

    When I use the following code:

    at.register('> ', function() {
      at.unregister('> ');
      at.write(data);
      return "";
    });
    

    It removes the "> " from the AT buffer but leaves "\r\n" in it which can cause problems for subsequent requests (maybe for the +RECEIVE handler as well). I tried as well to register for "\r\n> ". That didn't solve that for me. How would you handle that? There are as well situations like

    ] "\r" <--- "\r"
    ] "\n> " <--- "\n> "
    

    or

    ["AT+CIPSEND=1,26\r\n"
    ] "\r\n>" <--- "\r\n>"
    ] "> " <--- " "
    
About

Avatar for net-tobi @net-tobi started