Defined Values
<session_id>
<len>
<unsent_len_0>
<unsent_len_1>
2.2.10 AT+CCHRECV Read the cached data that received from the server
You can use AT+CCHRECV to read the cached data which received from the server.
AT+CCHRECV Receive the cached data that received from server
Read Command
AT+CCHRECV?
Write Command
AT+CCHRECV=<session_id>[,<max_rec
v_len>]
Defined Values
<session_id>
<max_recv_len>
SIM7500_SIM7600_SIM7800 Series_SSL_AT Command Manual
blocked.
OK
b)If parameter is wrong or other errors occur:
ERROR
The session_id to operate. It's from 0 to 1.
The length of data to send. Its range is from 1 to 2048 bytes.
The data of connection 0 cached in sending buffer which is waiting
to be sent.
The data of connection 1 cached in sending buffer which is waiting
to be sent.
Response
+CCHRECV: LEN,<cache_len_0>,<cache_len_1>
OK
Response
a)if parameter is right and there are cached data:
OK
[+CCHRECV: DATA, <session_id>,<len>
...
+CCHRECV: DATA, <session_id>,<len>
...]
+CCHRECV: <session_id>,<err>
b) if parameter is not right or any other error occurs:
+CCHRECV: <session_id>,<err>
ERROR
The session_id to operate. It's from 0 to 1.
Maximum bytes of data to receive in the current AT+CCHRECV
Smart Machine Smart Decision
17 / 36
Need help?
Do you have a question about the SIM7600 Series and is the answer not in the manual?
Questions and answers