1.5.3.11 SYS_WIFIPROV_Deinitialize Function

C

SYS_WIFIPROV_RESULT SYS_WIFIPROV_Deinitialize (SYS_MODULE_OBJ object)

Summary

Deinitializes the module instance of the SYS WIFIPROV module

Description

This function deinitializes the module instance disabling its operation. Resets all of the internal data structures and fields to the default settings.

Precondition

The SYS_WIFIPROV_Initialize function should have been called before calling this function.

Parameters

ParamDescription
objectSYS WIFIPROV object handle, returned from SYS_WIFIPROV_Initialize

Returns

return SYS_WIFIPROV_RESULT

Example

if (SYS_WIFI_SUCCESS == SYS_WIFIPROV_Deinitialize (wifiProvServHandle))
{
    // when the SYS WIFI is De-initialized.
}

Remarks

Deinitialize should be called if the WiFi Provisioning service is no longer going to be used.