SENA PS210W User Manual

Page 51

Advertising
background image

51

the Pro Series for Ethernet connection. What users need to do is to use an IP address (or domain

name) and port number instead of phone number as a parameter of ATA/ATDT commands.

It is required to send serial data to the multiple remote hosts.

If the serial device should send data to the multiple hosts, modem emulation mode is required.

For example, the first data from the serial device can be sent to the first data acquisition server

and the second to the second server. What user device has to do is to change the IP address (or

domain name) and port number parameters whenever the device sends ATD(T) XXX command.

By using the modem emulation mode of the Pro Series, users can have their serial device connected

to the Ethernet network easily, which is cheaper than using phone line modem. Table 4-2 is a

summarized AT command table which is supported by the Pro Series. Figure 4-7 shows the typical

case of the serial port command flow when ATDA command is used to connect to the Ethernet network.

Table 4-2 AT commands supported in the Pro Series

Command

Internal Operation

Response

4

(Verbose Code)

+++

Return to command input mode

None

ATD(T)
[remote IP or domain
name]:[remote port]
[CR][LF]
or
ATD(T)
[remote IP][remote port]
[CR][LF]

Set TCP mode as TCP client mode. And then, try to connect
to the specified remote host.

e.g. atdt192.168.1.9:1002
e.g. atdt1921680010091002
Connect to IP address, 192.168.1.9, port 1002
(Port Number is permitted from 1 to 65534)
e.g. atdtps.sena.com:1002
Connect to domain address ps.sena.com, port 1002

ATDR
[remote IP or domain
name]:[remote port]
[CR][LF]

This command is similar to ATD(T). The difference is that
ATDR forces the connection to be Raw TCP connection
regardless of Cryptography configuration and Default Data
mode option.

ATDS
[remote IP or domain
name]:[remote port]
[CR][LF]

This command is similar to ATD(T). The difference is that
ATDR forces the connection to be SSLv3 connection. The
Cryptography configuration should be SSLv3. If not, this
command returns ERROR.

If success,
CONNECT [CR][LF]

If failure in connection,
NO CARRIER [CR][LF]

If other errors,
ERROR [CR][LF]

AT&Tn [CR][LF]

Change and dis play the default data mode.

AT&T : Display the current Default data mode
AT&T0 : Change the Default data mode to Raw TCP mode
AT&T1 : Change the Default data mode to Telnet binary mo de

AT&T
If Data mode=RawTCP
0 [CR][LF]
If Data mode=Telnet
binary
1 [CR][LF]

AT&Tn
If success,
OK[CR][LF]
If failure,
ERROR[CR][LF]

4

If Echo mode is enabled, the command will be sent back first. And then, corresponding response will be sent. If disabled, only

response will be sent.

Advertising