Motorola G24 用户手册

下载
页码 642
Chapter 3:  AT Commands Reference
 December  31, 2007
AT Commands Reference Manual
3-399
Example
AT+MIPFLUSH=2//Socket number 2 was previously opened using the +MIPOPEN command
+MIPFLUSH: 2
OK
AT+MIPFLUSH=5
ERROR
AT+MIPFLUSH?
+MIPFLUSH: 1 2
OK
+MIPRUDP, Receive Data from UDP Protocol Stack
This unsolicited event is sent by the G24 to the terminal when data is received from the UDP 
protocol stack.
Set Command Event
+MIPRUDP:<Source IP>,<Source Port><socket ID>,<Left>,<Data>
The following table shows the +MIPRUDP parameters.
Example
+MIPRUDP: 172.16.3.135,222,2,0,44444444
+MIPRTCP, Receive Data from TCP Protocol Stack
This unsolicited event is sent by the G24 to the terminal when data is received from the TCP 
protocol stack.
Note:
In case of SSL secured connection, the encryption increases the amount of data and SSL 
protocol uses encrypted alerts, therefore the <Left> parameter shows gross encrypted 
amount of data (including encrypted alert messages) still left in protocol stack, which is 
greater than actual amount of decrypted data.
Set Command Event
+MIPRTCP: <socket ID>,<Left>,<Data>
Table 3-268: +MIPRUDP Parameters
<Parameter>
Description
Source IP
IP of the source
Source Port
Port of the source
Socket ID
1,2,3,4 - Number of valid sockets.
Left
Size of received Data still left in protocol stack.
Data
Data string received with 0-F hexadecimal digits. String ends with a <CR>.