Mipclose, Close A Socket - Fibocom G510 User Manual

G5/g6-family at commands
Hide thumbs Also See for G510:
Table of Contents

Advertisement

13.1.4+MIPCLOSE, Close a Socket

This command causes the Module to free the socket accumulating buffer and to close the socket.
Note: All data stored in the accumulating buffer will be lost.
Command
Syntax
Set
+MIPCLOSE=<Socket_ID
>[,<Mode>]
Read
+MIPCLOSE?
Test
+MIPCLOSE=?
The following table shows the +MIPCLOSE parameters.
<Parameter>
<Socket_ID>
<Mode>
<number_of_acknowledged_bytes >
<close_type>
AT Commands User Manual
Response/Action
OK
+MIPCLOSE:
<Socket_ID>[,<number_of_acknowledged_bytes>],<close_
type>
or:
ERROR
+MIPCLOSE: [<socket_ID>]
OK
(for all ACTIVE sockets)
or:
+MIPCLOSE: 0
OK
(if no active sockets)
+MIPCLOSE: (1-4),(0-2)
OK
Description
Unique number that identifies a connection.
Valid socket numbers - 1, 2, 3 and 4
This value only used for TCP connection.
0 -- Wait FIN ack from Server (default)
1 – Do not wait FIN response from server.
Total number of bytes that were acknowledged.
Connection close type:
Page 205 of 243

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G510sG520G610-a20 seriesG620-a20 series

Table of Contents