CCilot XA and CCpilot XS
Product revision: 0.12
Software guide
2018-03-19
www.crosscontrol.com
13
NMEA also allows the GPS device to be configured, for more details; locate
Fastrax iSuite™
NMEA
manual. It is also possible to use CCSettings for initial verification of GPS receiver functionality, see
more in section 5.16.
4.17.
GPRS/GSM
The All-Integrated models have a GPRS modem for data connections. To access the GPRS/GSM
modem, you should open up a serial connection to /dev/ttyUSB0 (Linux), with 8-N-1-57600
settings. Note that the GPRS/GSM modem needs to be powered on to be able to operate. This is
done with the CCSettings program or through the CC AUX API.
The GPRS modem supports the standard set of AT commands, so any software that supports the
standard AT command specification using serial communication can be used. For instance, the
current power status is available via the AT command (on Linux):
# chat TIMEOUT 2 '' AT | microcom -t 5000 /dev/ttyUSB0
It is also possible to use CCSettings for initial verification of modem functionality, see more in
section 5.16.
4.17.1.
PPP connection
It is possible to set up a data connection over GPRS/GSM using the PPP protocol. This requires
that settings relevant for the PPP peers are written in the standard format for this information and
stored under
/opt/etc/ppp/peers
. Once this is properly configured, the PPP connection is
initialized with the following command:
# /etc/init.d/ppp start
It is possible to stop the connection with the analogue stop command in the above script.
4.18.
WLAN
The All-Integrated models support WLAN, interoperable with the standard 802.11 b/g networks.
Note that the WLAN module needs to be powered on to be able to operate. This is done with the
CCSettings program or through the CC AUX API.
In Linux, the wireless tools that are installed on the device can be used for setting up the actual
network. Such tools include the
iwconfig
,
iwlist
,
iwspy
,
iwpriv
,
wpa_supplicant
and
wpa_cli
commands. Additionally, the network interfaces file can be used for configuring WLAN
settings.
Additionally, the device needs to load the WLAN drivers for the WLAN to become operational. This
is done within a script, which also enables the power to the WLAN circuit, if the API method isn’t
desired. The script command to use for initializing the WLAN is:
# /etc/init.d/wlan start
Of course, the analogue way for stopping the WLAN is also usable.
For details of these tools and instructions on how to set up and configure access to a wireless
network, see:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
.