Skip to content
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

Set RTC time via nanoff #1566

Open
networkfusion opened this issue Dec 16, 2024 · 1 comment
Open

Set RTC time via nanoff #1566

networkfusion opened this issue Dec 16, 2024 · 1 comment

Comments

@networkfusion
Copy link
Member

Description

In some circumstances, devices will not have immediate access to a source clock but require a valid datetime.

How to solve the problem

It should be possible to update it via nanoff using at mimimum the (PC) time.
Potentially (re)set it after flashing the latest firmware.

Describe alternatives you've considered

No response

Aditional context

No response

@Ellerbach
Copy link
Member

It's not that straight forward as it does require to add a debug function for this.
What about this in the mean time:

  • You create a small application that set the time
  • You deploy in the internal storage the time
  • Once reset, the app reads the file and set the time (it's going to be approximate but in a second or so)
  • You can redeploy another app and clean the storage, the time should stay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants