UserBackupRegister

Home Forums mDot/xDot UserBackupRegister

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14868
    Andrew Lindsay
    Participant

    How are the User Backup Registers implemented? Are they saved to flash as part of the network session?

    I had thought they were saved during power loss but I have a mDot where this is not the case. After the power has been removed and restored the values from a number of registers are changed. The only other thing I can see here is that the mDot hasn’t successfully joined a network at this poing.

    Thanks

    Andrew

    #14869
    Eric Tsai
    Participant

    If you’re using the readUserBackupRegister() and writeUserBackupRegister(), those are battery backed registers I believe. They’re cleared when power is removed, but are maintained across sleep.

    If you want to write to flash, that’s the saveUserFile() and readUserFile() calls.

    #14870
    Andrew Lindsay
    Participant

    That would explain it.

    Thanks

    Andrew

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.