A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.97k
stars
725
forks
source link
Identfy the "+CIPRXGET: 4" response for the "AT+CIPRXGET=4,0" command, even if modem returns "+CIPRXGET: 1" and "+CIPRXGET: 4" in the same response #803
Sometimes, the SIM7000 modem returns "+CIPRXGET: 1" and "+CIPRXGET: 4" in the same response, if you execute CIPSTATUS before than "AT+CIPRXGET=4,0".
In the expected cenario, the modem returns "+CIPRXGET: 1,0" in CIPSTATUS response (Figure 1).
But, in some cases, the modem returns "+CIPRXGET: 1,0" only in "AT+CIPRXGET=4,0" response (Figure 2). In this cenario, the "modemGetAvailable" funcion can't identify the "+CIPRXGET: 4" response.
Sometimes, the SIM7000 modem returns "+CIPRXGET: 1" and "+CIPRXGET: 4" in the same response, if you execute CIPSTATUS before than "AT+CIPRXGET=4,0".
In the expected cenario, the modem returns "+CIPRXGET: 1,0" in CIPSTATUS response (Figure 1).
But, in some cases, the modem returns "+CIPRXGET: 1,0" only in "AT+CIPRXGET=4,0" response (Figure 2). In this cenario, the "modemGetAvailable" funcion can't identify the "+CIPRXGET: 4" response.