Iplisten-Enable Server Listening; Command Syntax; Description; Defined Values - 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.3 ^IPLISTEN–Enable Server Listening

15.3.1 Command Syntax

Command
^IPLISTEN=<type>,<listen_port>
^IPLISTEN?
^IPLISTEN=?

15.3.2 Description

This command enables the server listening function. After a server is started, the
server can be connected to a maximum of five clients.

15.3.3 Defined Values

<type>: a string with double quotation marks, specifying the connection type.
"TCP": A TCP connection is established.
"UDP": A UDP connection is established.
"": No connection is established. The value is returned only when the read command
is executed. The value cannot be returned when the test command is executed. The
value cannot be used in the execution command.
<listen_port>: an integer, specifying the local listening port. The value ranges from 1
to 65535.
Note:
<idle_num>: an integer, specifying the number of currently idle connections. The
value ranges from 0 to 5.

15.3.4 Examples

AT^IPLISTEN?
^IPLISTEN: "",0,2
Issue 04 (2013-01-28)
If server listening is not enabled, 0 is returned when the query command is executed.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Internet Service Commands
Possible Response(s)
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR: <err><CR><LF>
<CR><LF>^IPLISTEN:
<type>,<listen_port>,<idle_num><CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>^IPLISTEN: (list of supported
<type>s),(list of supported <listen_port>s),(list
of supported <idle_num>s)<CR><LF>
<CR><LF>OK<CR><LF>
198

Advertisement

Table of Contents
loading

Table of Contents