Description; Defined Values; Examples - Huawei MU509 At Command Interface Specification

Hsdpa lga module
Hide thumbs Also See for MU509:
Table of Contents

Advertisement

HUAWEI MU509 HSDPA LGA Module
AT Command Interface Specification

15.7.2 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.
Note:
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.
During the execution command running, the command can be interrupted.

15.7.3 Defined Values

<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.

15.7.4 Examples

AT^IPCLOSE?
^IPCLOSE: 1,1,0,0,0
OK
AT^IPCLOSE=1
OK
AT^IPCLOSE?
^IPCLOSE: 0,1,0,0,0
Issue 04 (2013-01-28)
This command will close the TCP link as soon as the AT command returns OK. In some rare
contention case, when the server doesn‟t receive FIN ACK from the client, the server will remain
in CLOSE_WAIT state. In that rare case, the server can‟t finish TCP release on time. But the
server will close the link after some time. The waiting time depends on the server‟s
implementation.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Internet Service Commands
203

Advertisement

Table of Contents
loading

Table of Contents