RV-Z50-E Quick Start
9
6.2.2
Data Reception
In order to receive data from the Z50, set up a UDP or TCP server and set that server’s hostname and
port as the destination in the Z50.
Raveon offers data server solutions. For more information, contact Raveon at
6.2.2.1
How to Set Up a Test Server
There are many ways to set up a server to receive data from a Z50. A simple linux UDP echo server to
test your Z50 can be set up with socat.
To install socat run: apt-get install socat
Once installed a udp echo server can be set up with: socat -v PIPE UDP-LISTEN:Port,fork
Where Port is the port number you wish to receive data at.
Note: Additional steps may be required for port forwarding with a firewall.
6.3
Downlink Data (To Z50)
To receive data with the Z50, the Z50 must first establish a connection with the server which it would
like to receive data from.
While the Z50 is connected all data received from the server will be sent out the serial port.
6.3.1
Configuring the Modem for Data Reception
Configure the Hostname or Host IP address to send the data to, then connect.
ACHN command sets the host name or the host IP address. The ACHN command parameters are stored
internally in the Z50, so these parameters need only be configured one time. But they may be modified
at any time
ACHN HelloWorld.com to set the destination IP address to the host named HelloWorld.com
ACHN 123.456.789.ABC to set the destination IP address to 123.456.789.ABC
ACPN command sets the host IP port number. The ACPN command parameters are stored internally in
the Z50, so these parameters need only be configured one time. But they may be modified at any time
ACPN 3885 to set the destination port number to 3885
ATDT command connects the modem to the hostname and port set by ACHN and ACPN. The hostname
and port can also be set with the ATDT command by sending the hostname and port separated by
spaces after the ATDT command.
ATDT HelloWorld.com 3385 to connect to host name HelloWorld.com at port number 3385
6.4
Communication between Z50s
Direct communication between Z50s requires that each Z50 has a static IP address. In order to obtain a
static IP address, contact your cellular carrier.
For more information, contact Raveon technical support [email protected]
6.5
GPS Position Transmission
Position Transmission is enabled by setting either TXRATE or IDLERATE to a nonzero value.