Skip to main content

gnss-session.disable()

Turn the GNSS sub-system off

Availability

Device (from impOS™ 44)
Only available on imps with cellular modems

Returns

Table — see below

Description

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

This method de-activates the GNSS sub-system. It must be reactivated with gnss-session.enable() before it can be reused.

The returned table contains the key status. Its value will be zero if no error occurred, or an error code (see gnss-session for details).