configuring in BLE
-
I was wondering if we could have two modes aka a BLE mode and a general mode. On going in BLE mode I wanted to configure the board as an IoT module sending data on a mqtt server or something and in the other mode I wanted the board to save the settings sent to it through BLE and run that code even after reboot. Any idea how I could save these setting even after reboot?
-
thanks seb, this would work wonders :)
-
Please check out the
nvs_set
andnvs_get
functions: https://docs.pycom.io/chapter/firmwareapi/pycom/pycom.html#pycomnvssetkey-value