This documentation covers a feature not yet available in a production version of impOS and has been provided for early testers only. It is preliminary and subject to change
The hardware object’s gnss property is available in impOS™ 44 and up, and only on the imp006 module. The Quectel GB96 is the only cellular modem supported at this time.
On compatible imps, the Squirrel virtual machine instantiates gnss automatically. It has a single method, open(), which is used to open a connection to the cellular modem’s GNSS sub-system and, if necessary, ready it for use. It returns a gnss-session object which is then used for all further interactions with the GNSS sub-system — to retrieve a location reading, for example.
The gnss object has the following member method: