Miprudp, receive data from udp protocol stack, Miprtcp, receive data from tcp protocol stack, Miprudp parameters -287 – PIONEERPOS AT Commands G24-LC User Manual
Page 351
Chapter 3: AT Commands Reference
April 15, 2008
G24-L AT Commands Reference Manual
3-287
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-L 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-L to the terminal when data is received from the TCP
protocol stack.
Set Command Event
+MIPRTCP: <socket ID>,<Left>,<Data>
Table 3-203: +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>.