Ref. :
P212515
Ind. :
A
18/18
© 2012 « Any reproduction of this document whether total or partial without the written consent of
ACTIA
Automotive
is
forbidden ».
VI.5 GPS TEST PROCEDURE
The TGW2 include a GPS chip which provides the localisation function.
To use the GPS function follow the following procedure :
On the HyperTherminal console, type the following commands :
[root]/root#
./test4
(initialise and start the GPS satellite acquisition)
To terminate the GPS test, press
CTRL+C
.
VI.6 WLAN TEST PROCEDURE
The TGW2 include a WLAN chip which provides communication function with external WLAN device.
For radio tests use the following procedure:
[root]/root#
./txcont_new.sh
(initiate the WLAN module and provide command line instructions details)
The following message shall be displayed in the console:
Usage - ./txcont_new.sh channel rate_index chip_ID
where channel is 1 - 14 (limited by region settings)
where rate_index is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
for 1M, 2M, 5.5M, 11M, 22M, 6M, 9M, 12M, 18M, 24M, 36M, 48M, 54M, 72M
where chip_ID is 8381 or 8385 OR 8686
Example - ./txcont_new.sh 1 0 8385 #channel 1, 1Mbps, 8385 chip
To turn off, use 0 for channel -- e.g. ./txcont_new.sh 0 0 8385 (rate_index is ignored)
The TGW2 WLAN chip_ID is
8686
.
For instance, to set the TGW2 WLAN to channel 1, rate index 12, type the following command :
[root]/root#
./txcont_new.sh 1 12 8686
The following message shall be displayed :
set channel: 1
set to G mode
set tx rate
0xa888 0x0c
To connect to an access point, use the following procedure:
To start the TGW2 WIFI module use the following command line: [root]/root#modprobe mx_sdhci
To display the TGW2 wifi module status, use the following command line: [root]/root#iwconfig eth1
To configure the TGW2 wifi module, use the following help command line : [root]/root#iwconfig --
help
To scan the WIFI network use the following command line : [root]/root#iwlist eth1 scan
iwlist command help is available with the following command : [root]/root#iwlist --help