Send more than 1460 bytes in sim800l module with cipsend

Hi, I want to know if there is a way to send via TCP IP by AT+CIPSEND command more than 1460 bytes, I trying to send to my server 2460 bytes, but give me error, I read in this app note, that is not possible to send more than 1460 bytes, I trying to search if there is another way to send this data to my server by a webserver that i made, I using a ESP32 and SIM800L, if I using the ESP32 with wifi, it made OK, and trying with AT commmands with sim800L, and give me the error, if I try with less than 1460 bytes, it made ok, I don't post any code, because, my question is more in what AT commands use for do this task, sorry foy my bad english



AT
OK
AT+CIURC=1
OK
AT+CREG?
+CREG: 0,1

OK
AT+CFUN=1
OK
AT+CMGF=1
OK
AT+CGMM
SIMCOM_SIM800L

OK
AT+CGMI
SIMCOM_Ltd

OK
AT+CMEE=2
OK
AT+CGACT?
+CGACT: 1,0
+CGACT: 2,0
+CGACT: 3,0

OK
AT+CIPSHUT
SHUT OK
AT+CGATT=1
OK
AT+CSTT="www.telcel.com"
OK
AT+CIICR
OK
AT+CIFSR
10.0.20.168
AT+CIPSTART="TCP","XXX.XX.XXX.XXX","xxxx"
OK

OK

CONNECT OK
AT+CIPSEND?
+CIPSEND: 1460

OK

AT+CIPSEND=2665
+CME ERROR: operation not allowed

CLOSED

build your own protocol and send packets of max 1460 bytes then join them on the server side

try to split your data in chunks not more than 1460 bytes
For example, for sending 2665 bytes

AT+CSTT="www.telcel.com"
OK
AT+CIICR
OK
AT+CIFSR
10.0.20.168
AT+CIPSTART="TCP","XXX.XX.XXX.XXX","xxxx"
OK

CONNECT OK

AT+CIPSEND=1300
>........                                        // send first 1300 bytes, not terminated by Ctlr-Z
SEND OK

AT+CIPSEND=1365
>.......                                        // send last 1365 bytes

Thanks J-M-L and b707
The solution proposed by b707, work great! exactly like he say, thank you very much!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.