User guide

C-GPS Overview and Usage
WM_DEV_C-GPS_APN_001-001
late: WM ACM F 007 level002 A P P L I C A T I O N N O T E A P P L I C A T I O N N O T E A P P L I C A T I O N N O T E
For Instance,
INFO:CGPS:STOP
For more information on the meanings of various fields of the
configuration SMS, please refer to the TCP Internet Connection
Sample Description HTML document.
POINTS TO REMEMBER:
1. The difference between the TCP Internet Connection sample
and the Interval Update sample is that the TCP Internet
Connection sample sends the data in exact NMEA format over the
established TCP socket. The Interval Update sample, on the other
hand, sends data in a particular format (used for sending PVT
information).
Another difference between the TCP Internet Connection sample
and the Interval Update sample is that the TCP Server sample
sends NMEA sentences only over TCP socket after a specified
update interval whereas the Interval Update sample can be used to
send PVT data over TCP socket or SMS after a specified update
interval.
2. All the sample applications use the following serial port
communication parameters for the Debug UART:
Speed:
115200 Bauds/second.
Character Framing:
8 data bits, 1 stop bits, parity ignored.
Flow control:
No flow control.
5.4 Steps to Download the Samples
NOTE: UART2 or USB cannot be used to download the Open AT
®
application.
5.4.1 Downloading using XModem Protocol
The user can download the sample using the XModem protocol
using Hyperterminal (or a similar serial port utility which provides
XModem protocol to transfer information). Following steps should
be taken to download the sample
1. Connect UART1 with the PC which has the application
binary. The connection parameters for Hyperterminal (or
similar application should be):
a. Baud Rate: 115200 bauds/sec
b. Data bits: 8 data bits, no parity, 1 stop bit.
2. Set the BOOT switch on the Wavecom Wireless CPU
Motherboard to OFF. The ON/OFF switch should be set
to ON. Make sure that the CGPS Daughter board is not
connected.
3. Execute the command AT+WDWL. The XModem NACK
characters (‘$”) would start to appear.
4. Transfer the sample binary application
(compilerused_workspacename_H.wpb.dwl or
compilerused_workspacename_H.dwl). NOTE: The
literal compilerused can have the values “ads” or “gcc”
depending on the compiler which is used to compile the
application.
5. After the download is complete, execute AT+CFUN=1
command to reset the Wireless CPU.
6. Execute AT+WOPEN=1 command to start the Open AT
®
sample application.
5.4.2 Downloading using DwlWin
Wavecom provides a utility called DwlWin which can be used to
download the sample applications.
The steps to download the sample are:
1. Connect to UART1 (115200 bauds, 8 data bits, no parity,
1 stop bit).
2. On the Wavecom Wireless CPU Development Board set
the boot switch to ON.
3. Configure DWLWIN as shown below.
4. Make sure the C-GPS Daughter board is not connected.
5. Select the sample application having the extension .wpb
at the end.
6. Start the download.
7. Once completed, switch the boot back to OFF.
8. Connect the C-GPS Daughter board.
9. Set UART1/UART2 switch on C-GPS Daughter board to
UART2.
10. Push the hardware reset.
11. If needed start the Open AT
®
application using
AT+WOPEN=1.
12. Connect to the port UART2 (115200 bauds, 8 data bits,
no parity, 1 stop bit).
13. NMEA should be sent to the UART2.
5.5 Steps to Execute the Samples
To start the Open AT
®
application, the command AT+WOPEN=1
needs to be given. The user must configure the switch positions on
the Daughter board (to select the UART to be used for C-GPS) and
the switch positions on the Wavecom Wireless CPU motherboard
as described earlier in this document.
All the samples subscribe to a set of custom AT commands which
define the way in which the sample behaves. The set of AT
commands along with their description are:
1. AT+NMEA: This command specifies if the NMEA frames
(either in formatted or in RAW format) are to be received
over the Debug UART.
2. AT+PASSWORD: This command specifies the
password to be used in the configuration SMS to
authenticate a valid user. The password is stored in flash
memory. The default value of the password is “CGPS”
and the password is case sensitive.
3. AT+CGPS: This command provides information as to
which UART is to be used for C-GPS Daughter board.
The UART which is left automatically becomes the
Debug UART. After giving this command, the sample
starts executing.
4. AT+CONFIG: If a value of 1 is specified as an argument
to this command, then the values for AT+NMEA and
AT+CGPS are saved in flash memory. Hence, if the
Wireless CPU resets, the sample application
automatically starts executing (without user intervention)
using the previously saved parameters for +NMEA and
+CGPS commands. Please note that to disable this
© 2006
All rights reserved Page: 4 / 7
This document is the sole and exclusive property of WAVECOM. Not to be distributed or divulged without prior written agreement.
Ce document est la propriété exclusive de WAVECOM. Il ne peut être communiqué ou divulgué à des tiers sans son autorisation préalable.
Temp