05-09-2021, 08:23 PM
(05-09-2021, 06:11 PM)ragreenburg Wrote:That would be through a serial terminal like minicom. If you run the AGPS script it turns GPS on for you so you don't need to do any manual AT commands.(05-08-2021, 08:52 PM)8bit Wrote: You could install gpsd and run one of the clients. xgps works but is not optimized for the screen. The text based clients gpsmon and cgps will give you all the typical GPS statistical information. The NMEA output that gpsd needs is on /dev/ttyUSB1. The config file is in /etc/default/gpsdThank you for the information! Quick question, as I don't have my PP on me right now to test, with the AGPS it says to run `AT+QGPS=1` to start the GPS, is that just ran in the command line? I don't have any real experience with working with modems in general though I do have experience with a handful of programming languages.
The antenna is very weak and it will take a long time outdoors even with a clear view of the sky to get a lock. You will want to run the AGPS proof of concept script to speed up the initial lock. https://gist.github.com/alastair-dm/2632...e555fa6628
You can also talk directly to the modem via AT commands to get a location manually, It is what the AGPS script uses. https://sixfab.com/wp-content/uploads/20...l_V1.1.pdf
If the AGPS script gives serial errors you probably need pyserial
sudo pip3 install pyserial