Ipopen-Establish A Tcp/Udp Connection; 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.2 ^IPOPEN–Establish a TCP/UDP Connection

15.2.1 Command Syntax

Command
^IPOPEN=<link_id>,<typ
e>,<remote_addr>,<rem
ote_port>[,<local_port>]
^IPOPEN?
^IPOPEN=?

15.2.2 Description

This command establishes a wireless connection with one or more remote servers to
complete data exchange. TCP and UDP are supported.
During the execution command running, the command can be interrupted.

15.2.3 Defined Values

<link_id>: an integer, specifying the ID of a connection. The value ranges from 1 to 5.
<type>: a string with double quotation marks, specifying the connection type.
"TCP": a TCP connection is established.
"UDP": a UDP connection is established.
<remote_addr>: a string enclosed in double quotation marks, specifying the target IP
address to be connected to, or the domain name to be resolved. The maximum value
length is 255 characters.
<remote_ip>: a string with double quotation marks, specifying the target IP address to
be connected to.
Issue 04 (2013-01-28)
Possible Response(s)
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR: <err><CR><LF>
If a connection is established:
<CR><LF>^IPOPEN:
<link_id>,<type>,<local_port>,<remote_ip>,<remote_por
t>,<SIO_port>,< MSS>
[<CR><LF>^IPOPEN:
<link_id>,<type>,<local_port>,<remote_ip>,<remote_por
t>,<SIO_port>,<remote_MSS>]
[...]]<CR><LF>
<CR><LF>OK<CR><LF>
If no connection is established:
<CR><LF>OK<CR><LF>
<CR><LF>^IPOPEN: (list of supported <link_id>s),(list
of supported <local_port>s),(list of supported
<remote_port>s)<CR><LF>
<CR><LF>OK<CR><LF>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Internet Service Commands
196

Advertisement

Table of Contents
loading

Table of Contents