Download H330 Module AT Command User Manual - Premier

Transcript
14.10
+MIPRUDP, Receive Data from UDP Protocol Stack
This unsolicited event is sent by the H330 to the terminal when data is received from the UDP protocol
stack.
Set Command Event
+MIPRUDP: <Source_IP>,<Source_Port><socket_ID>,<Left or SDL>,<Data>
The following table hows the +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.
SDL
Subsequent data length
Data
Data string received with 0-F hexadecimal digits. String ends with a <CR>.
Note:

This unsolicited event will change the destination IP and destination port , it means that when a
+MIPRUDP unsolicited event coming, if you do not specify IP and port using +MIPPUSH,data left in the
buffer will be sent to this new destination by default.

If "IPRFMT" parameter has been set by AT+GTSET, the receives data will be reponse at different format.
14.11
+MIPRTCP, Receive Data from TCP Protocol Stack
This unsolicited event is sent by the H330 to the terminal when data is received from the TCP protocol
stack.
Set Command Event
+MIPRTCP: <socket_ID>,<Left or SDL >,<Data>
The following table shows the +MIPRTCP parameters.
<Parameter>
Description
Socket_ID
1,2,3,4 - Number of valid sockets.
Left
Size of received Data still left in protocol stack.
SDL
Subsequent data length
Data
Data string received with 0-F hexadecimal digits. String ends with a <CR>.
Note:

This unsolicited event will change the destination IP and destination port , it means that when a
H330 Module AT Command User Manual
Page 261 of 304