framework/src/st_things/things_stack/utils/things_network.c
//--------------------------------------------------------------------------------
/**
 * Function definition for getting homeap configuration information.This function
 * calling the wifi manager api internally to get the configuration details.
 */
Function definition for getting homeap configuration information.This function
calling the wifi manager api internally to get the configuration details.
Function definition for getting homeap configuration information . This function calling the wifi manager api internally to get the configuration details .
wifi_manager_ap_config_s *things_network_get_homeap_config(void)
{
	wifi_manager_result_e res = wifi_manager_get_config(&g_homeap_info);
	if (res != WIFI_MANAGER_SUCCESS) {
		THINGS_LOG_E(TAG, "Get AP configuration failed [error code : %d]", res);
	} else {
		THINGS_LOG_D(TAG, "[WIFI] Saved SSID : %s", g_homeap_info.ssid);
	}
	return &g_homeap_info;
}
wifi_manager_ap_config_s * things_network_get_homeap_config ( void ) { wifi_manager_result_e res = wifi_manager_get_config ( & g_homeap_info ) ; if ( res != WIFI_MANAGER_SUCCESS ) { THINGS_LOG_E ( TAG , " " , res ) ; } else { THINGS_LOG_D ( TAG , " " , g_homeap_info . ssid ) ; } return & g_homeap_info ; }
Function definition for getting homeap configuration information.This function
 calling the wifi manager api internally to get the configuration details.
Function definition for getting homeap configuration information . This function calling the wifi manager api internally to get the configuration details .
// Call the wifi manager api.