Part Number: LAUNCHCC3220MODASF
I've noticed that if the provisioning process is interrupted, sl_FsOpen(), eg, will fail with -2014 (PROVISIONING_IN_PROCESS) at power up. A reset doesn't fix it, so my guess is that there's a flag set in flash ROM for this. What I'd like to do is check for this and clear it if possible.
Right now, I guess I could test for -2014 error returned from sd_FsOpen(), then try to issue
sl_WlanProvisioning(SL_WLAN_PROVISIONING_CMD_STOP,0xFF,0,NULL, 0x0);
to (hopefully) clear the flag.
Is this the right approach?
Thanks!
Chris