Skip to content

Add factory reset function #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sfe-SparkFro opened this issue Jan 9, 2024 · 1 comment
Open

Add factory reset function #22

sfe-SparkFro opened this issue Jan 9, 2024 · 1 comment

Comments

@sfe-SparkFro
Copy link
Collaborator

All modules (should) support the factory reset AT command:

+UFACTORY:<fs_op>,<nvm_op>

Could be useful in case a user gets their module all twisted up. Requires a reboot to take effect.

Looks like the following values can be used for <fs_op>:

  • 0 - Does nothing
  • 1 - Depends on module
    • SARA-R5 - "Not supported"
    • LARA-R6 - "Deletes all user files previously stored with "USER" tag"
  • 2 - Depends on module
    • SARA-R5 - "All files stored in FS are deleted"
    • LARA-R6 - "Not supported"

And for <nvm_op>:

  • 0 - Does nothing
  • 1 - Depends on module
    • SARA-R5 - "Not supported"
    • LARA-R6 - "Deletes all modem profiles" and a second reboot is required
  • 2 - Depends on module
    • SARA-R5 - "Restores the NVM to the factory-programmed configuration"
    • LARA-R6 - "Restores the UART interface and +UPSV AT command settings to the factory-programmed setting"
@PaulZC
Copy link
Contributor

PaulZC commented Feb 27, 2024

Some relevant code here and here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants