Hi Support,
Below are the Sequence of steps that are followed
When the device is in Provisioning mode, i.e., in AP+SC mode, I have sent a http post request that contains the country code to be set. So, when I get the POST request, I stop my provisioning process using command sl_WlanProvisioning(SL_WLAN_PROVISIONING_CMD_STOP, ROLE_STA, 0, NULL, 0)
After getting the Provisioning stopped event from the NWP, I set the country code using sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, SL_WLAN_GENERAL_PARAM_OPT_COUNTRY_CODE, 2, str) API.
Once the country code is set properly, I tried sl_stop(200), but I am getting [ERROR] - FATAL ERROR: Async event timeout detected [event opcode =0x73] after 1min.
I have tried changing the SL stop Timeout, but it didn't work.
Please help me to resolve this issue.
Thanks,
Sai Jnaneswar