AnyRover Release Management
Overview
This page describes how to configure the AnyRover and a Windows PC to enable communication between the u-center software and the GPS receiver in the AnyRover.

The u-center is supposed to be able to receive data from TCP or UDP sockets, but we recommend to use a terminal program and virtual COM ports, since we haven't had any success in getting u-center to accept data from the AnyRover.
Needed software
u-center: This software can be freely downloaded from the u-blox homepage. At the time of this writing, it is avaliable here.
Virtual Serial Port Driver: This tool creates a pair of virtual serial ports that are internally connected. The simplest version of this tool is sufficient for this purpose. This tool can be downloaded from different sites.
CTX Terminal: This is a terminal application developed by Cabtronix, the company that builds the AnyRover. It supports two channels, UDP and TCP transport, and can copy the data from the UDP or TCP stream to one of the virtual COM ports. Download
Configuration
Install all required programs and create a virtual COM port pair with VSPD. Default is to create COM 5 and COM 6:
Creating a virtual COM port pair
Start CTX Terminal. First connect the two channels in "Project Settings":
Open Tools->Project Settings... Select Connect Channel A and B


Configure the two channels according to your settings. In this case, it is assumed that the Windows PC has the IP address 192.168.1.1, while the AnyRover has 192.168.1.3. The AnyRover sends a UDP stream to port 13179. If you want to be able to configure the GPS receiver using u-center, you have to define a source port, which is also 13179.
The necessary configuration line on the AnyRover is
[gps]
udp_target = 1,192.168.1.1:13179,192.168.1.3:13179
Open Tools->Channel Settings... Channel A: UDP/IP Local: 192.168.1.1:13179, Dest: 192.168.1.3:13179, Channel B: COM5
Make sure that both channels A and B are disconnected before starting u-center:
Disconnect Channels A and B via the buttons
Now start u-center and connect to the second port of the configured virtual pair (COM 6):
Configure u-center to COM 6
Now connect channels B and A (in this order) in CTX Terminal. If everything was setup correctly, you should start seeing NMEA messages both in CTX Terminal and u-center.
CTX Terminal and u-center working
And if you configured a reverse channel, the GPS receiver can be configured in u-center.

Be careful when changing the baud rate of the GPS receiver (default baud rate is 9600). You will only see garbage until you also change the baud rate on the AnyRover. If you want to change it only temporarily and do not save it on the GPS receiver, it is sufficient to change the baud rate on the AnyRover (login as root) on the fly like so (to set baud rate to 57600):
stty -F /dev/ttyS2 speed 57600
To make the changes permanent, you have to save the changes in the GPS receiver (this is done in u-center) and adjust the configuration on the AnyRover:
[gps]
baudrate = 57600