Motorola G24 Guide Developer's Manual page 477

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

Advertisement

The following table shows the +MIPCLOSE parameters.
<Socket_ID>
<number_of_acknowledged_bytes >
<close_type>
Example
AT+MIPCLOSE=1 //The terminal closes the opened socket
OK
+MIPCLOSE: 1,0 // Socket 1 closed. The remote side replies with FIN.
AT+MIPCLOSE=1//The terminal closes the opened socket
OK
+MIPCLOSE: 1,1 //Socket 1 closed. The remote side did not reply, so +MIPCLOSE
indication received after close timeout.
AT+MIPCLOSE=3//The terminal closes the opened socket
OK
+MIPCLOSE: 3,1024,2 //Socket 3 closed. Ack indication enabled - 1024 bytes were acked.
The remote side did reply with RST.
AT+MIPCLOSE=2//The terminal closes the socket that wasn't opened
ERROR
AT+MIPCLOSE?//Sockets 1 and 2 are opened
+MIPCLOSE: 1,2
OK
AT+MIPCLOSE?//No opened sockets
+MIPCLOSE: 0
OK
December 31, 2007
Table 3-263: +MIPCLOSE Parameters
<Parameter>
AT Commands Reference Manual
Chapter 3: AT Commands Reference
Description
A unique number that identifies a connection.
Valid socket numbers - 1, 2, 3 and 4
Total number of bytes that were acknowledged.
Connection close type:
0 - Connection was closed correctly.
1 - The remote side didn't reply, so connection
closed by close timeout.
2 - Other (The remote side replied with RST,
retransmission timeout occurred, etc.).
3-393

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents