Mipread, Receive Data From Buffer - Fibocom G510 User Manual

G5/g6-family at commands
Hide thumbs Also See for G510:
Table of Contents

Advertisement

13.1.22

+MIPREAD, Receive data from buffer

Command
Syntax
Set
AT+ MIPREAD
=<SocketId>,
<ReadDataLen>
Read
AT+ MIPREAD?
Example:
AT+gtset="IPRFMT",5
OK
AT+MIPCALL=1,"cmnet";
OK
+MIPCALL: 10,76,50,12
AT+MIPOPEN=1,,"SZPGS.XICP.NET",3000,0
OK
+MIPOPEN: 1,1
AT+MIPSEND=1,"656565"
OK
AT Commands User Manual
Response
OK
or:
ERROR
or:
+MIPDATA:SocketID,
actualReadDataLen
Or:
+MIPREAD:SocketID,
0
OK
or:
ERROR
Or:
+MIPREAD:Socketid,
actualDataLen
Remarks
This command use for reading the data in
cache.
SocketId : Socket ID
ReadDataLen: 2048 bytes at maximum
actualReadDataLen: actual length of data
in buffer
+MIPREAD : no data in buffer
+ MIPDATA : read data successfully
This command is used to check whether
there is data in buffer or not
// open the receiving cache mode
// get the local IP address
// build connection
// Send data
Page 230 of 243

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G510sG520G610-a20 seriesG620-a20 series

Table of Contents