Miprudp, Receive Data From Udp Protocol Stack; Miprtcp, Receive Data From Tcp Protocol Stack - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

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.
<Parameter>
Source IP
Source Port
Socket ID
Left
Data
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:
Set Command Event
+MIPRTCP: <socket ID>,<Left>,<Data>
December 31, 2007
Table 3-268: +MIPRUDP Parameters
IP of the source
Port of the source
1,2,3,4 - Number of valid sockets.
Size of received Data still left in protocol stack.
Data string received with 0-F hexadecimal digits. String ends with a <CR>.
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.
AT Commands Reference Manual
Chapter 3: AT Commands Reference
Description
3-399

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents