gprs.at.debug() is showing multiple response lines eg ["ATE0\r\n" ] "\r\nOK\r\n" <--- "\r\nOK\r\n" ] "\r\nOK\r\n" <--- "\r\nOK\r\n" ] "\r\nOK\r\n" <--- "\r\nOK\r\n" ] "\r\nOK\r\n" <--- "\r\nOK\r\n" ] "\r\nOK\r\n" <--- "\r\nOK\r\n" ["AT+CPIN?\r\n" ] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r" ] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r" ] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r" ] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r" ] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r" [["AT+CGATT?\r\n" ] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK" ] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK" ] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK" ] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK" ] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK"
What would cause that ?
@jonreid started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
gprs.at.debug() is showing multiple response lines eg
["ATE0\r\n"
] "\r\nOK\r\n" <--- "\r\nOK\r\n"
] "\r\nOK\r\n" <--- "\r\nOK\r\n"
] "\r\nOK\r\n" <--- "\r\nOK\r\n"
] "\r\nOK\r\n" <--- "\r\nOK\r\n"
] "\r\nOK\r\n" <--- "\r\nOK\r\n"
["AT+CPIN?\r\n"
] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r"
] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r"
] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r"
] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r"
] "\r\n+CPIN: READY\r\n\r\nOK\r" <--- "\r\n+CPIN: READY\r\n\r\nOK\r"
[["AT+CGATT?\r\n"
] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK"
] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK"
] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK"
] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK"
] "\n\r\n+CGATT: 0\r\n\r\nOK" <--- "\n\r\n+CGATT: 0\r\n\r\nOK"
What would cause that ?