Usage Example for GNSS-Positioning Information Reading

This example reads GNSS positioning information through AT instructions.

Hardware Preparation

Software Preparation

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:

  1. GNSS running status: the value 1 indicates that GNSS is running
  2. Positioning status: the value 1 indicates successful positioning
  3. UTC date and time: 20191024051848.000, the format is year, month, day, hour, minute, second. Milliseconds
  4. Latitude: 12.345678 degrees
  5. Longitude: 123.456789 degrees
  6. MSL altitude: 123.123 meters
  7. Ground speed: -1.8 kilometers per hour
  8. Ground direction: speed is 0
  9. Positioning mode: value 0 indicates automatic selection to use GPS and GLONASS
  10. Reserved1: Reserved field, data missing
  11. HDOP: Horizontal accuracy factor, value 1.4
  12. PDOP: Position accuracy factor, value 1.7
  13. VDOP: Vertical accuracy factor, value 0.9
  14. Reserved2: Reserved field, data missing
  15. GNSS Satellites in View: Number of visible satellites, value 6
  16. Reserved3: Reserved field, data missing
  17. HPA: Horizontal protection limit, value 12.4 meters
  18. 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?

TOP