AT Commands Reference
250 98-08901C68-O
at+MIPOPEN? //Terminal checking the free sockets
+MIPOPEN: 3 4
OK
4.15.2.3 +MIPCLOSE, Close a Socket
This command causes the g20 to free the socket accumulating buffer and disconnect the g20 from a remote side.
Set Command
Read Command
Test Command
The following table shows the +MIPCLOSE parameters.
Note
The Disconnect action does not disconnect the GPRS link. This means that if there are other active sockets, their
status is not changed.
Command Response/Action
+MIPCLOSE = <Socket ID> OK
+MIPCLOSE: <Socket ID>
or:
ERROR
Command Response/Action
+MIPCLOSE? +MIPCLOSE: <socket ID>...,<CR><LF>
For ID of all ACTIVE sockets.
Command Response/Action
+MIPCLOSE=? +MIPCLOSE=(1-MAX_SOCKET_NUM)
Table 130. +MIPCLOSE Parameters
<Parameter> Description
Socket ID Unique number that identifies a connection:
0 Invalid socket number
1,2,3,4 Valid socket numbers
Extended err 3 Operation not allowed