(answered) using NVS hex2bin
Posted: Tue Nov 13, 2018 3:02 pm
Hi, all -
I use the NVS Partition Generator Utility to create binary files for flashing to the ESP32. My CSV file looks something like this:
I've edited the .bin file to verify that the hex to binary conversion is successful.
But now...how do I read that data programmatically? It doesn't fit any of the data types identified in the NVS library.
Thanks...
I use the NVS Partition Generator Utility to create binary files for flashing to the ESP32. My CSV file looks something like this:
Code: Select all
key,type,encoding,value
cd_ns_serial,namespace,,
serialNbr,data,string,"123456789"
macAddr,data,hex2bin,112233445566
label,data,string,"Cyberdata, Inc."
But now...how do I read that data programmatically? It doesn't fit any of the data types identified in the NVS library.
Thanks...