Sena HelloDevice Pro PS110 Series User Manual page 51

Universal device servers
Hide thumbs Also See for HelloDevice Pro PS110 Series:
Table of Contents

Advertisement

There already exists a modem attached to the users' serial device.
If users'serial device already has a modem for phone-line connection, it can be just replaced by
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.
Command
+++
ATD(T)
[remote
IP
or
domain
name]:[remote
port][CR][LF]
or
ATD(T)
[remote IP][remote port]
[CR][LF]
ATDR
[remote
IP
or
domain
name]:[remote port]
[CR][LF]
ATDS
[remote
IP
or
domain
name]:[remote port]
[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.
Table 4-2 AT commands supported in the Pro Series
Internal Operation
Return to command input mode
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
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.
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.
51
4
Response
(Verbose Code)
None
If success,
CONNECT [CR][LF]
If failure in connection,
NO CARRIER [CR][LF]
If other errors,
ERROR [CR][LF]

Advertisement

Table of Contents
loading

Table of Contents