Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. nvs
    Log in to post

    • philwilkinson

      how to check if a non-existing key in nvs ?
      Discussion • nvs dict key value nvsget • • philwilkinson  

      13
      0
      Votes
      13
      Posts
      887
      Views

      M

      import pycom the_value = pycom.nvs_get('the_key',None) if the_value: print(the_value)
    • W

      Firmware updates and NVS
      LoPy • update nvs • • wstallwood  

      1
      0
      Votes
      1
      Posts
      721
      Views

      No one has replied

    • bmarkus

      pycom.nvs comments
      Comments & Feedback • nvs • • bmarkus  

      1
      0
      Votes
      1
      Posts
      690
      Views

      No one has replied

    • D

      Efficiency of Flash vs NVRAM (and some NVS questions)
      LoPy • lopy flash nvram file system nvs • • dbrgn  

      6
      1
      Votes
      6
      Posts
      2846
      Views

      J

      @dbrgn The library may also have a local cache, which would be used for reading, and could compare values against the cache before actually writing to flash. There could also be some way to write only a few bytes rather than full sectors like a filesystem would do, not sure if that's actually possible with the flash interface used.
    • R

      What is the size limitation of the nvm storage in module pycom?
      Enhancements • pycom nvs feat • • rolandvs  

      3
      2
      Votes
      3
      Posts
      1380
      Views

      bmarkus

      I do not know but it may depend on fw version. Also no idea whether stored data survives fw update or not. I'm missing methods get number of total/used indexes get list of keys Also there are some smaller issues with retrieving data with non existing keys, etc.
    • B

      Store Wi-Fi password securely
      Getting Started • nvs • • BetterAuto  

      18
      1
      Votes
      18
      Posts
      4074
      Views

      B

      I like that idea.
    • 1 / 1