-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(nm): add GPS enable/disable support (#4476)
* feat: add toBitmask converter method * feat(nm): first implementation of GPS enable support * refactor: rename method to "toBitMaskFromMMModemLocationSource" for consistency * test(nm): add toBitMaskFromMMModemLocationSource method test * refactor: fix names * feat(nm): disable GPS when interface is disabled * test(nm): parametrized for deviceId, interfaceName * test: initial support for ModemLocation tests * test(nm): added Modem configuration tests with GPS * refactor: invert expectations * test: improve redability of thenLocationSetupWasCalledWith method * refactor: add missing `final` * fix: merge issue * test(nm): add test for missing GPS configuration * refactor: lower log level * refactor: group together configuration methods * feat(nm): enable/disable GPS independently of Modem ip status * feat(nm): preserve all other not managed location sources configuration * refactor(nm): simplify GPS handling logic
- Loading branch information
Showing
4 changed files
with
359 additions
and
111 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
Oops, something went wrong.