We are working with CC3100 with ServicePack 1.0.0.1.2
In the initial configuration, we execute:
retVal = sl_WlanProfileDel(0xFF);
if (retVal != 0) return ERROR;
In one device, it was returning 0xFFF9. I have seen in fs.h the next definition:
#define SL_FS_ERR_FS_ALREADY_LOADED (-7)
The CC3100 host documentation says that sl_WlanProfileDel returns zero on success and -1 in error.
Why does it return -7?
I began to debug this device and after two or three executions, sl_WlanProfileDel began to return 0,I don't know why and I can't reproduce the error.
Thanks for any ideas that help.
Rubén