You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Thanks - yes, luckily we seem ok at the moment. Not sure why as we seem to have pissed terrorists off more than most. It's awful what's happened though.

    The Pico red light thing could be because there's some issue with the SIM800 and you basically ended up shorting out 5V and GND? That would cause the Pico's diode that takes USB power to fry.

    To check, you could try powering Espruino externally? Connect a breadboard power supply or battery between Bat and GND and see if the light goes off, and then try and connect via USB?

    With the AT commands, I'm not sure what the problem is? You were just getting AT+CMGR=1 repeated back to you? If so, it's because you want to turn off echo with ATE0\r\n first... or you could work around it with:

    at.cmd("AT+CMGR=1\r\n", 1000, function cb(d) {
     if (d===undefined) ; // we timed out!
     // d is now the result
     if ( d == "AT+CMGR=1" ) return cb;
     else console.log('AT+CMGR=1 result: ' + d);
    });
    
About

Avatar for Gordon @Gordon started