Hi,
i try to set mode to ap then restart, but at each new start the returned mode is station.
Any idea where is the problem ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Fabien,
The version you shared is not correct. -7 error also corresponds to the file system/serial flash.
Few questions:
Regards,
Ankur
So since i power up well my device the get version work well.
The Station mode and TCP feature work very well too (i get some strange behaviour in TCP data transfert before fix this power problem)
But i get always some problems :
- my device did not restart in Station mode (but before the re-start the setMode method does not return an error)
- if i try the configureSimpleLinkToDefaultState method before, the call to
retVal = sl_WlanPolicySet(SL_POLICY_CONNECTION, SL_CONNECTION_POLICY(1, 0, 0, 0, 1), NULL, 0);
return negative value.
- since i power well my device i saw that on first start a received a general async event with status -78 meaning
SL_ERROR_PREFERRED_NETWORKS_FILE_LOAD_FAILED
This can be the source of my problem ?
What can i do to fix that ?