SIM5300E AT Command Manual V1.02
+CIPRXGET: 1[,<id>,<IP ADDRESS>:<PORT>]
if <mode>=2
+CIPRXGET: 2,<id>,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
1234567890…
OK
if <mode>=3
+CIPRXGET: 3,<id>,<reqlength>,<cnflength>[,<IP ADDRESS>:<PORT>]
5151…
OK
if <mode>=4
+CIPRXGET: 4, <id>,<cnflength>
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameters <mode>
0 Disable getting data from network manually, the module is set
to normal mode, data will be pushed to TE directly.
1 Enable getting data from network manually.
2
The module can get data, but the length of output data
cannot exceed 1460 bytes at a time.
3 Similar to mode 2, but in HEX mode, which means the module
can get 730 bytes maximum at a time.
4 Query how many data are not read with a given ID.
<id> A numeric parameter which indicates the connection number
<reqlength> Requested number of data bytes (1-1460 bytes)to be read
<cnflength>
Confirmed number of data bytes to be read, which may be
less than <length>. 0 indicates that no data can be read.
Reference Note:
To enable this function, parameter <mode> must be set to 1 before
connection.