
EG_GenLoc31e_988_CL_002_UK Page 7 / 22
Descriptions and non-contractual illustrations in this document are given as an indication only.
ERCO&GENER reserves the right to make any modifications.
2.1.3 AT+WGPSNMEA – GPS NMEA unsolicited
This command allows the host to activate the GPS NMEA frames provided as unsolicited messages on GSM
main serial link as follows :
$GPGGA,092003.00,4716.80272,N,00003.51569,W,1,08,1.01,28.7,M,47.9,M,,*7F
$GPGSA,A,3,20,11,23,17,24,01,04,13,,,,,2.05,1.01,1.79*0E
$GPGSV,3,1,09,20,75,044,48,11,39,138,47,23,61,168,49,17,47,261,50*7C
$GPGSV,3,2,09,24,54,302,45,01,25,045,47,33,34,201,44,04,22,303,43*75
$GPGSV,3,3,09,13,31,196,51*4A
$GPGLL,4716.80272,N,00003.51569,W,092003.00,A,A*75
$GPRMC,092004.00,A,4716.80273,N,00003.51572,W,0.004,,080606,,,A*6C
$GPVTG,,T,,M,0.004,N,0.008,K,A*2F
Syntax: AT+WGPSNMEA=<mode>[,<NMEA1>,<NMEA2>…]
<mode>
0 Deactivate 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 GPS satellites in view
3 RMC Recommended minimum data
4 VTG Course over ground and ground speed
5 GLL Latitude and longitude, with time of position fix and status.
Note:
If the <NMEAx> parameters are omitted, the last configuration remains active. This configuration is
stored in EEPROM.
Examples :
Command Possible Responses Notes
AT+ WGPSNMEA AT+WGPSNMEA=(0-1),(0-5),...
OK
Display syntax
AT+WGPSNMEA=1,0,2,3
OK
These three frames will be
provided as unsolicited
messages
AT+ WGPSNMEA? +WGPSNMEA: 1,0,2,3
OK
Display current frame
selection (GGA, GSV, RMC)
AT+ WGPSNMEA=0
OK
Turn off the unsolicited
mode
AT+ WGPSNMEA=1
OK
Turn on the unsolicited
mode (previous selection is
used)
2.1.4 AT+WGPSRAW – Send raw data to the GPS module
This command will write a raw data stream to the GPS module. The data is not interpreted inside the GSM
module.
Syntax: AT+WGPSRAW=<pdu>
Examples :