background image

 

EG_GenLoc31e_988_CL_002_UK 

Page 8 / 22

 

 

Descriptions and non-contractual illustrations in this document are given as an indication only. 

 ERCO&GENER reserves the right to make any modifications.

 

Command 

Possible Responses 

Notes 

AT+WGPSRAW 

AT+WGPSRAW="raw UBX data string"
 
OK

 

Display syntax

 

AT+WGPSRAW=”B5
6206010600F005000
10001043200010000
0331” 

 
 
 
OK

 

Successful transmission of 
data to the GPS controller (this 
example enables VTG frames 
to be output from the GPS 
module)

 

 

<pdu>

 data is entered as a binary string (in hexadecimal format) enclosed by quotes. Only the 

following hexadecimal characters are allowed: ‘0’ to ’9’, and ’A’ to ’F’. Each pair of characters is 
converted to a byte. For example, 41 is converted to hexadecimal value. 
 

Notes: 

The contents of 

<pdu>

 is the responsibility of the host user. 

The length of 

<pdu>

 is limited to 512 characters corresponding to a frame of 256 hexadecimal bytes. 

 
 
 

2.1.5 

AT+WGPSPOS – Get position information 

This command will to get the last position information received. 

 
Syntax: AT+WGPSPOS 

 

Response syntax: 
+WGPSPOS:<fix>,<time>,<date>,<latitude>,<longitude>,<altitude>,<hdop>,<speed>,<course>,<nbsat> 

 

Examples :  

Command 

Possible Responses 

Notes 

AT+WGPSPOS  

+WGPSPOS:2,100556.00,080606,4716.80053N,000
03.51560W,83.4,1.45,0.013,,07 
 
OK

 

See defined 
values below

 

 
<fix> 

0 Invalid 

Fix 

1 2D 

fix 

2 3D 

fix 

-1  It is not possible to define a position 
 

<time>

 : hhmmss 

time of fix 

ranges of values:  hh (hour) 00 to 23 
 

mm (minute) 00 to 59 

 

ss (second) 00 to 59 

Example: 130556 means 13:05:56 UTC 

 

<date>

 : ddmmyy date of fix 

ranges of values:  dd (day) 01 to 31 
 

mm (month) 01 to 12 

 

yy (year) 2000 to 2099 

Example: 191105 means 19

th

 November 2005 

 

<latitude> 

: ddmm.mmmmm(N/S) 

ranges of values:  dd (degrees) 00 to 90 
 

mm.mmmmm (minutes) 00,00000 to 59.99999 

 

(N/S) North or South 

Example: latitude of the fix 4716.80053N means 47°  16.80053’ North 

 

<longitude>

 : dddmm.mmmm(E/W) 

Содержание Genloc 31e

Страница 1: ...00 Fax 33 0 2 41 67 19 20 www gener fr infos gener fr SA CAPITAL 183244 R C SAUMUR B 332 174 820 SIRET 332 174 820 00032 NAF 322A TVA Intra FR 16 332 174 820 L esprit Modem Command List An application...

Страница 2: ...make any modifications Document History Revision Modifications Author Date 000 CREATION MRE 18 05 2006 001 Added descriptions for all commands used in the application MRE 20 06 2006 002 Corrected cha...

Страница 3: ...lay of GPS coordinates 12 2 1 11 AT ERRORSTAT Display NMEA and UBX frame status 13 2 1 12 AT WGPSCONF GPS configuration 13 2 2 UBX commands 14 2 2 1 AT HELPUBX Display list of UBX commands 14 2 2 2 AT...

Страница 4: ...ts use or otherwise except to the extent that such liability may not be lawfully excluded Notwithstanding the generality of the foregoing ERCO GENER expressly excludes liability for indirect special i...

Страница 5: ...specific to the GenLoc31e For a complete list of available Wavecom commands and their descriptions please refer to R1 For a complete technical description of the GenLoc31e please refer to R3 1 1 Refe...

Страница 6: ...ommands example AT WGPSPOS Syntax AT HELP Example Command Possible Responses AT HELP ATI8 Display product software version and build information AT WGPSNMEA 0 1 0 5 Activate display of unsolicited GPS...

Страница 7: ...ate NMEA unsolicited mode default 1 Activate NMEA unsolicited mode NMEAx selected NMEA frame list chosen from the following list 0 GGA GPS fix data default 1 GSA GPS DOP and Active satellites 2 GSV GP...

Страница 8: ...limited to 512 characters corresponding to a frame of 256 hexadecimal bytes 2 1 5 AT WGPSPOS Get position information This command will to get the last position information received Syntax AT WGPSPOS...

Страница 9: ...n the availability of the information 2 1 6 AT WGPSM GPS module management This command will power up or down the GPS module perform specific GPS module reset provide the current GPS module software a...

Страница 10: ...d SPI GPIO pin value Syntax AT WIOR index index 0 Opto coupled input 0 1 Opto coupled input 1 2 Opto coupled input 2 3 Motion detector optional Examples Command Possible Responses Notes AT WIOR AT WIO...

Страница 11: ...led AT WIOW 7 1 OK UART2 RxD TxD redirected to UART1 DSR DTR 2 1 9 AT WGPSANT GPS antenna configuration This command manages the GPS antenna configuration Syntax AT WGPSANT type mode mon Response synt...

Страница 12: ...command to be taken into account The AT command AT WGPSANT will not manage the modes EXT or Single Coax Options for the GPS antenna configuration 2 1 10 AT SHOWPOS Automatic display of GPS coordinate...

Страница 13: ...errors received by UART2 from the GPS module Syntax AT ERRORSTAT n n 0 NMEA frames 1 UBX frames Examples Command Possible Responses Notes AT ERRORSTAT AT ERRORSTAT 0 1 0 NMEA 1 UBX OK Display syntax A...

Страница 14: ...he GPS module This command will display the current hardware and firmware version of the GPS module including any extensions Syntax AT UBXMONVER Example Command Possible Responses AT UBXMONVER GPS mod...

Страница 15: ...ion engine to the expected environment This can result in a better interpretation of the measurements and hence more accurate position output Syntax AT UBXCFGPM n n 1 Stationary Velocity is constraine...

Страница 16: ...only AT UBXSHOW 3 OK Enable display of both RX and TX frames AT UBXSHOW 83 OK Enable display of both RX and TX frames and ascii interpretation AT UBXSHOW UBXSHOW 83 OK Display current setting for UBX...

Страница 17: ...right to make any modifications UBX TX CFG_DAT B5 62 06 06 00 00 0C 2A b UBX RX CFG_DAT B5 62 06 06 34 00 00 00 57 47 53 38 34 00 00 00 b 4 WGS84 00 40 A6 54 58 41 88 6D 74 96 1D A4 72 40 00 00 TXA mt...

Страница 18: ...s AT SFSR Display Status Register AT SFWRTEXT addr text Write an ascii text to the address addr AT SFRD start length a Read length bytes from start address a 1 ascii dump AT SFWEL x Display or modify...

Страница 19: ...3 4 AT SFWEL Display modify Write Enable Latch bit This command will display or modify the Write Latch Enable WEL bit in the status register Note that the WEL bit must be set enabled and the appropria...

Страница 20: ...and Possible Responses Notes AT SFBP AT SFBP x 0 Unprotected 1 Protected OK Display syntax AT SFBP 1 OK Set all BP bits to 1 AT SFBP 0 OK Set all BP bits to 0 AT SFBP SFBP 0 OK Display current value o...

Страница 21: ...FF FF FF FF FF FF FF FF 0x00000030 FF FF 41 6E 20 61 73 63 69 69 20 74 65 78 74 20 0x00000040 73 74 72 69 6E 67 FF FF FF FF FF FF FF FF FF FF 0x00000050 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF...

Страница 22: ...0 erased OK Block 0 of size 4Kbytes has been successfully erased AT SFEB 0 Flash Write Latch Disabled ERROR The WEL bit has not been set Unable to erase block AT SFEB 0 Flash Blocks protected ERROR T...

Отзывы: