SIM respond to AT+CIPSEND with “+CME ERROR: operation not allowed” after IP address and TCP connection established

All things pertaining to wireless and RF links

Moderator: phalanx

Post Reply
ECE19.4
Posts: 2
Joined: Fri Nov 16, 2018 3:36 pm

SIM respond to AT+CIPSEND with “+CME ERROR: operation not allowed” after IP address and TCP connection established

Post by ECE19.4 » Fri Nov 16, 2018 3:38 pm

I am working with a team to send data from Raspberry Pi over 2G network to a server using a GSM module called “SIM800L EBV”. We encountered an AT+CIPSEND error that has only occurred in Zambia, Africa while having been working correctly in the US (Arkansas, Colorado, and Washington state) for two years.
Below is a picture of our SIM log. We noticed from our log that the AT+CIFSR to request an IP address is working. And when AT+CIPSTART is run to start the TCP connection to the server “obfuscated.org” at port 11002, the response is OK and CONNECT OK indicating that the TCP connection to the server has been established. However, when AT+CIPSEND is run, we received an “+CME ERROR: operation not allowed”.
Has anyone encountered this problem before? Does anyone know about any supporting information that might help solve the problem? Is there any suggestion on how to get around this CME error? Is there any other command to replace this AT+CIPSEND command? Why does it work fine in America but not in Zambia?
Many thanks!

Wrote to sim: AT+CIFSR

Bytes to read: 26
Sim response: AT+CIFSR
172.50.216.113

Wrote to sim: AT+CIPSTART="TCP","redacted.org","11002"

Bytes to read: 58
Sim response: AT+CIPSTART="TCP","redacted.org","11002"
OK

CONNECT OK

Wrote to sim: AT+CIPSEND

Bytes to read: 47
SIM response: AT+CIPSEND
+CME ERROR: operation not allowed

paulvha
Posts: 297
Joined: Sat Nov 11, 2017 2:39 am

Re: SIM respond to AT+CIPSEND with “+CME ERROR: operation not allowed” after IP address and TCP connection established

Post by paulvha » Sat Nov 17, 2018 4:48 am

maybe different firmware in the SIM800L ?

ECE19.4
Posts: 2
Joined: Fri Nov 16, 2018 3:36 pm

Re: SIM respond to AT+CIPSEND with “+CME ERROR: operation not allowed” after IP address and TCP connection established

Post by ECE19.4 » Wed Nov 28, 2018 3:22 pm

Hi thanks for the response. We''ll look into that. Do you have any other suggestions? It's hard for us to test if any solution truly works until its implemented in Zambia so we're trying to compile a list of possible solutions that we can run through during implementation.

sbcdave
Posts: 1
Joined: Sun Jan 20, 2019 11:10 pm

Re: SIM respond to AT+CIPSEND with “+CME ERROR: operation not allowed” after IP address and TCP connection established

Post by sbcdave » Sun Jan 20, 2019 11:11 pm

I second updating the firmware on the SIM card. Beyond that the only other suggestion I can provide is to look through the open source code for sakis3g (google it), they're able to establish an internet connection over sim through a ppp interface and their code might be helpful.

Post Reply