Reputation: 83
What AT+CGNSCMD command do? in the user manual, it say "Send command to GNSS" is it mean send command to GNSS system or somethig else.
Thanks.
Upvotes: 1
Views: 768
Reputation: 706
The AT+CGNSCMD is an AT command which takes two arguments, and sends a PMTK command to the chip.
A typical useful example could be changing the NMEA string (GPS Data) update rate (PMTK command type 220). To see it in action, first set the test mode on (which streams all the updates through UART to the serial monitor) with this AT command:
AT+CGNSTST = 1
now sending the following PMTK command (through the stated AT coomand) we will change the interval between updates to 200ms:
AT+CGNSCMD=0,"$PMTK220,200*2C"
Many more useful PMTK commands can be found on this pdf file. Still, be careful, I don't know which commands will be compatible with your chip!
Upvotes: 1