This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Storing Device Serial/Identifier

We'd like to be able to store a few items including mutable keys, and unique identifier in each device that is generated on initial boot of the product. I'm just starting out with research but I'm wondering if there is any documentation/guidance from Nordic regarding how/where to store this kind of information?

Parents Reply
  • First I tried things with Zephyr's NVS sample and then imported the code to my project (that is based on Asset Tracker application). Then I wrote hard coded stuff (like serial) to NVS and moved on when they started to work.

    have implemented Serial LTE Modem sample to my project, before the sample was changed from UART interrupt driven to serial sync mode, and without tcpip and any other parts, only the AT host part from that sample. Then I edited it to first comparing the buffer to my custom commands and then to AT commands.

    I have successfully managed to write things like serial to NVS from terminal.

    I hope you'll get this working and will happily help you more if you need.

    EDIT: lol, actually I didn't answer your question. I'm not sure how to write to NVS when programming (do you mean like flashing the device?) or if it's even possible.

Children
Related