Skip to main content

gnss-session.disable()

Turn the GNSS sub-system off

Availability

Device
Only available on imps with cellular modems

Returns

Table — see below

Description

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).