This repository has been archived by the owner on Nov 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GNSS change only: option for uDeviceClose() to call uGnssPwrOffBackup().
When uDeviceClose() is called with powerOff set to true on a GNSS device, the function uGnssPwrOff() is internally called to power the GNSS device down. This switches off the positioning engine but does not put the device into the lowest power state; the reason for this is that the mechanism through which the GNSS device is restored from back-up mode may require additional pins to be connected; e.g. toggling the I2C pins of the GNSS device will NOT cause it to return to normal operation (toggling the SPI or UART lines will). With this commit the application _can_ now set a Boolean flag, powerOffToBackup, in uDeviceCfgGnss_t; this will cause the device layer to call uGnssPwrOffBackup() instead of uGnssPwrOff(). It is up to the application to know how to restore the GNSS device to normal operation afterwards, e.g. it may be necessary to toggle RESET_N or connect a separate GPIO line; please refer to the section of the integration manual for your GNSS device that covers backup modes for details.
- Loading branch information
Showing
7 changed files
with
55 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters