
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
Internet Service Interface Commands
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10.7 ^IPCLOSE–Command for Disabling a TCP/UDP
Connection
10.7.1 Syntax
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>ERROR<CR><LF> or
<CR><LF>+CME ERROR:<err><CR><LF>
<CR><LF>^IPCLOSE:<link1_state>,<link2_state>,<l
ink3_state>,<link4_state>,<link5_state><CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>^IPCLOSE:(supported <link_id>
list)<CR><LF>
<CR><LF>OK<CR><LF>
10.7.2 Interface Description
This command disables a TCP/UDP connection or disables the TCP/UDP function.
If <link_id> is set to 1–5, it indicates that the corresponding established connection is
disconnected. To disconnect a TCP connection, four handshaking operations are
needed for both party. UDP connection can be disconnected directly.
If <link_id> is set to 6, it indicates that the server listening function is disabled for the
module.
If <link_id> is set to 7, it indicates that the module deregisters from the network,
which is similar to dial-up disconnection.
10.7.3 Parameter Description
<link_id>: Specifies the ID of a connection. The value ranges from 1 to 7.
1–5: actual connection ID
6: established connection and the local server
7: disable all connections and PPP
<linkx_state>: Specifies the state of connection x.
0: Connection x is disabled and can be used.
1: Connection x is enabled and is being used.
10.7.4 Example
AT^IPCLOSE?