How can store STNV Partitions

Hi there,
here I’am using ESP32 with Direct Connected and i’m still confused how to store device info in NV using stnv partition.
previously if i don’t save device info data to stnv partitions then wifi provisioning fails

E (2748) [IoT]: _iot_security_be_bsp_fs_load_from_nv(132) > iot_bsp_fs_open(WifiProvStatus) = -16
E (2758) [IoT]: _iot_nv_io_storage(126) > iot_security_storage_read = -1200
I (2768) [IoT]: _do_cmd_tout_check(1041) > New state updated for 0
I (2778) [IoT]: _do_iot_main_command(499) > curr_main_cmd:10, curr_main_state:0/0
I (2788) [IoT]: iot_bsp_wifi_set_mode(234) > iot_bsp_wifi_set_mode = 1
I (2788) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
W (2798) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
I (2938) wifi:mode : sta (10:52:1c:b6:94:78)
I (2948) wifi:enable tsf
I (2948) [IoT]: iot_bsp_wifi_set_mode(265) > WiFi Station Started
I (4998) [IoT]: event_handler(167) > event_handler = 1
E (5048) [IoT]: iot_easysetup_create_ssid(49) > Failed to get serial number (-14)
E (5048) [IoT]: iot_wifi_ctrl_request(144) > Can't create ssid for easysetup.(-14)
E (5048) [IoT]: _do_state_updating(1635) > Can't send WIFI mode softap.(-14)
E (5058) [IoT]: _do_iot_main_command(531) > failed to handle new state : 1
E (5068) [IoT]: _do_iot_main_command(1001) > failed to handle cmd: 10

E (5068) [IoT]: _iot_main_task(1131) > failed handle cmd (10): -14

Can anyone help solve this problem?

Thanks

Hi, @gramdhan

I also asked the team about this situation since this is related to the OTA firmware process.
Once I get more info, I’ll let you know.