philrandal / gpsctl

GPS control and configuration for U-Blox GPS on Raspberry Pi 3B...
MIT License
45 stars 4 forks source link

Feature request: add option to force a cold start #13

Closed jasonbphillips closed 3 years ago

jasonbphillips commented 3 years ago

Currently, the --reset option requests a hot start of the GPS. I'd like to request a new option (perhaps --coldreset) that requests a cold start of the GPS.

My use case is that when testing various configurations I'd like to be sure that the GPS is starting from a clean state and reaquires the information it needs to work with the settings previously saved to RAM using the --save_config option. I was tipped off in the ublox protocol specification where it recommends a cold start after changing constellation settings (see section 4.2.1 Switching between GNSS):

https://www.u-blox.com/sites/default/files/products/documents/u-blox8-M8_ReceiverDescrProtSpec_UBX-13003221.pdf

This conversation has relevant info:

https://github.com/PX4/PX4-GPSDrivers/issues/26

Thanks for considering this, Phil.

Jason

philrandal commented 3 years ago

Due to circumstances beyond my control, I'm not able to work on this.

It should be easy enough to add.

Patches welcome.

philrandal commented 3 years ago

Changed the --reset semantics to perform a cold start instead of a hot start.

Fixed in https://github.com/philrandal/gpsctl/releases/tag/v1.15

jasonbphillips commented 3 years ago

Thank you, Phil.

Jason