commit | aa8ac416f8ac2f81c0d157c707f44d728608c2a6 | [log] [tgz] |
---|---|---|
author | Aleksander Morgado <aleksander@aleksander.es> | Sun May 14 20:50:26 2017 |
committer | Aleksander Morgado <aleksander@aleksander.es> | Tue May 30 19:06:04 2017 |
tree | f353e88d9ffe730d1c410feada2bd08c37d82e08 | |
parent | d772301cd4618e792053868aec60b39d9b8dbae5 [diff] |
cinterion: support AT^SGPSC capable modems The AT^SGPSS command provides an easy way to just start/stop GPS, but unfortunately it isn't supported by all Cinterion modems. The AT^SGPSC command instead is more widely available but it requires several steps to start and stop the different elements of the GPS receiver. Implement support for both, preferring AT^SGPSSS if available and falling back to AT^SGPSC otherwise.