1.4.3.14 SYS_WIFI_Deinitialize Function

C

SYS_WIFI_RESULT SYS_WIFI_Deinitialize (SYS_MODULE_OBJ object)

Summary

Deinitializes the module instance of the system Wi-Fi service

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_WIFI_Initialize function should have been called before calling this function.

Parameters

ParamDescription
objectSYS WIFI object handle, returned from SYS_WIFI_Initialize

Returns

return SYS_WIFI_RESULT

Example

if (SYS_WIFI_SUCCESS == SYS_WIFI_Deinitialize (sysObj.syswifi))
{
    // when the SYS WIFI is De-initialized.
}

Remarks

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