Usage Example for GNSS-Positioning Information Reading
This example reads GNSS positioning information through AT instructions.
Hardware Preparation
- TEL0182 SIM7070G Global NB-IoT Communication Module x1
- Windows11 PC x1
- NB SIM card x1
- NB_RF antenna x1
- GPS antenna x1
- FIT0668 Type-C&Micro 2-in-1 USB Cable x1
Software Preparation
- Download and install the driver: Click to download driver
Operation Steps
AT+CGNSPWR=1
//Turn on GNSS power (UART or USB AT port)
AT+CGNSINF
//Read GNSS navigation information
Running Results
Assume that the positioning data printed by the serial port is: 1,1,20191024051848.000,12.345678,123.456789,123.123,0.00,-1.8,0,,1.4,1.7,0.9,,6,,12.4,12.0
The following is the specific meaning of the GNSS navigation information read by the SIM7070G module:
- GNSS running status: the value 1 indicates that GNSS is running
- Positioning status: the value 1 indicates successful positioning
- UTC date and time: 20191024051848.000, the format is year, month, day, hour, minute, second. Milliseconds
- Latitude: 12.345678 degrees
- Longitude: 123.456789 degrees
- MSL altitude: 123.123 meters
- Ground speed: -1.8 kilometers per hour
- Ground direction: speed is 0
- Positioning mode: value 0 indicates automatic selection to use GPS and GLONASS
- Reserved1: Reserved field, data missing
- HDOP: Horizontal accuracy factor, value 1.4
- PDOP: Position accuracy factor, value 1.7
- VDOP: Vertical accuracy factor, value 0.9
- Reserved2: Reserved field, data missing
- GNSS Satellites in View: Number of visible satellites, value 6
- Reserved3: Reserved field, data missing
- HPA: Horizontal protection limit, value 12.4 meters
- VPA: Vertical protection limit, value 12.0 meters
You cannot connect to the cellular network and GPS positioning at the same time.
Was this article helpful?
