framework/src/st_things/things_stack/utils/things_network.c
//--------------------------------------------------------------------------------
/**
 * Function definition for things_network_initialize.It initialize the WiFi manager
 *callbacks.
 */
Function definition for things_network_initialize.It initialize the WiFi manager
callbacks.
Function definition for things_network_initialize . It initialize the WiFi manager callbacks .
int things_network_initialize(void)
{
	if (wifi_manager_init(&wifi_callbacks) != WIFI_MANAGER_SUCCESS) {
		THINGS_LOG_E(TAG, "Failed to initialize WiFi manager");
		return 1;
	}
	return 0;
}
int things_network_initialize ( void ) { if ( wifi_manager_init ( & wifi_callbacks ) != WIFI_MANAGER_SUCCESS ) { THINGS_LOG_E ( TAG , " " ) ; return 1 ; } return 0 ; }
Function definition for things_network_initialize.It initialize the WiFi manager
callbacks.
Function definition for things_network_initialize . It initialize the WiFi manager callbacks .
// Call the WiFi manager api to initialize the wifi callbacks.