EM20g GPS
Forum rules
Use the SEARCH function for related topics PRIOR to posting a new topic on the same subject.
Use the SEARCH function for related topics PRIOR to posting a new topic on the same subject.
-
- Posts: 19
- Joined: Sun Jun 24, 2018 4:08 pm
- Location: Australia
- Has thanked: 0
- Been thanked: 12 times
Re: EM20g GPS
You can set the GPS receiver to activate automatically on modem start with the AT command:
AT+QGPSCFG="autogps",1
Restart it to activate obviously.
Then you can read your position at any time with:
AT+QGPSLOC=2
This gives your location in decimal degrees. Use zero or one instead of two in that command to get degrees and minutes.
Deactivate with: AT+QGPSCFG="autogps",0
From memory, the modem uses the diversity antenna for GPS as well as MIMO.
AT+QGPSCFG="autogps",1
Restart it to activate obviously.
Then you can read your position at any time with:
AT+QGPSLOC=2
This gives your location in decimal degrees. Use zero or one instead of two in that command to get degrees and minutes.
Deactivate with: AT+QGPSCFG="autogps",0
From memory, the modem uses the diversity antenna for GPS as well as MIMO.