Storing multiple wifi credentials

Is it possible to get an imp to store multiple wifi credentials and then cycle through them to get a connection. A bit like how your computer remembers a list of wifi networks to join.

I could write something squirrel side but it wouldn't be secure as I'd have to store the wifi passwords in plaintext.


  • Yes, I store a dict of ssid/pwd and scan wifi and connect to the first one who's credentials are known. If you can't store plain text pwds, maybe you could send them to the device via http, and store them in the NV table or memory?
  • Yes, very possible to do this and several customers do just that in squirrel; the credentials do, however, have to be stored somewhere.

    Release 36 is scheduled to get local storage for squirrel (within the imp's internal config pages), so when that arrives you can do that.
  • Is that a secure area to store these things then?
  • Yes, it's either on-die (imp001/2/3/4) or encrypted with a per-device key and AES-GCM+AEAD protected off-die (imp005)
Sign In or Register to comment.