I would like to change the WiFi MAC address of the chip either permanently or dynamically at bootup. Is there a way to do this? I tried:
sprintf(g_mac_str, "%02x:%02x:%02x:%02x:%02x:%02x", g_mac, g_mac, g_mac, g_mac, g_mac, g_mac);
nvdm_ret = nvdm_write_data_item(WIFI_PROFILE_BUFFER_STA, "MacAddr", NVDM_DATA_ITEM_TYPE_STRING, (uint8_t *)g_mac_str, os_strlen(g_mac_str));
The write to nvdm returns successfully but on next boot the ip address is still the same.