Go Down

Topic: "CMT ERROR: 3" when connecting to MQTT through SIM900 + Arduino Mega (Read 1 time) previous topic - next topic

thenightfox

Hi all,

I've been trying to connect to Brazil's Vivo APN using an Arduino Mega 2560 and a GSM shield SIM900.

Commands I've sent to perform the connection:

AT+CGATT=1
AT+CMEE=2
AT+CSTT="zap.vivo.com.br","vivo","vivo"
AT+CIICR
AT+CIFSR
AT+CIPSTART="TCP","test.mosquitto.org","1883"
AT+CIPSEND

However, after these commands, I'm getting the following error:
+CME ERROR: operation not allowed

Most of the time, it happens after the CIPSTART or CIPSEND commands.
Adding delays of multiple intervals (up to 30,000ms) did not help getting it right.

Has anyone ever faced this issue before?

Thanks.

Go Up