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.

CC3220SF-LAUNCHXL: How to detect inactivity timeout event when executing sl_WlanProvisioning

Part Number: CC3220SF-LAUNCHXL

I am using the CC3220SF-LaunchXL board.

In the next code :

#define PROVISIONING_INACTIVITY_TIMEOUT           30   // seconds

// Start SmartConfig

RetVal = sl_WlanProvisioning(SL_WLAN_PROVISIONING_CMD_START_MODE_SC, ROLE_STA, PROVISIONING_INACTIVITY_TIMEOUT,NULL, 0);

I have tried to find in the documentation and source code what is the value of RetVal  if the timeout value by inactivity is reached but I could not find it. Anyone knows the code erorr value?

Also is the error code value the only way to find out if a inactivity timeout has been reached or is possible to have an event if this timeout is reached?

Thanks in advance.