EasyManua.ls Logo

Fibocom G510 - MIPCLOSE, Close a Socket

Fibocom G510
243 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT Commands User Manual Page
205
of
243
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
Response/Action
Set
+MIPCLOSE=<Socket_ID
>[,<Mode>]
OK
+MIPCLOSE:
<Socket_ID>[,<number_of_acknowledged_bytes>],<close_
type>
or:
ERROR
Read
+MIPCLOSE?
+MIPCLOSE: [<socket_ID>]
OK
(for all ACTIVE sockets)
or:
+MIPCLOSE: 0
OK
(if no active sockets)
Test
+MIPCLOSE=?
+MIPCLOSE: (1-4),(0-2)
OK
The following table shows the +MIPCLOSE parameters.
<Parameter>
Description
<Socket_ID>
Unique number that identifies a connection.
Valid socket numbers - 1, 2, 3 and 4
<Mode>
This value only used for TCP connection.
0 -- Wait FIN ack from Server (default)
1 Do not wait FIN response from server.
<number_of_acknowledged_bytes >
Total number of bytes that were acknowledged.
<close_type>
Connection close type:

Table of Contents

Other manuals for Fibocom G510