nRet = connection_open_profile(g_hConenctionHandle, g_hConnectionProfileHandleMMS, test_connection_opened_callback, NULL);
PRINT_RESULT_CLEANUP(CONNECTION_ERROR_NONE, nRet, "connection_open_profile", ConnectionGetError(nRet), connection_profile_unset_state_changed_cb(g_hConnectionProfileHandleMMS));
- nTtimeoutId = g_timeout_add(5000, Timeout_Function, g_pMainLoop);
+ nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
g_main_loop_run(g_pMainLoop);
g_source_remove(nTtimeoutId);
nRet = connection_profile_unset_state_changed_cb(g_hConnectionProfileHandleMMS);
PRINT_RESULT(CONNECTION_ERROR_NONE, nRet, "connection_profile_unset_state_changed_cb", ConnectionGetError(nRet));
- nTtimeoutId = g_timeout_add(5000, Timeout_Function, g_pMainLoop);
+ nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
g_main_loop_run(g_pMainLoop);
g_source_remove(nTtimeoutId);
int nRet = connection_open_profile(g_hConenctionHandle, g_hConnectionProfileHandleCellular, test_connection_opened_callback, NULL);
PRINT_RESULT(CONNECTION_ERROR_NONE, nRet, "connection_profile_unset_state_changed_cb", ConnectionGetError(nRet));
- nTtimeoutId = g_timeout_add(5000, Timeout_Function, g_pMainLoop);
+ nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
g_main_loop_run(g_pMainLoop);
g_source_remove(nTtimeoutId);
nRet = connection_close_profile(g_hConenctionHandle, g_hConnectionProfileHandleCellular, test_connection_closed_callback, NULL);
PRINT_RESULT(CONNECTION_ERROR_NONE, nRet, "connection_close_profile", ConnectionGetError(nRet));
- nTtimeoutId = g_timeout_add(5000, Timeout_Function, g_pMainLoop);
+ nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
g_main_loop_run(g_pMainLoop);
g_source_remove(nTtimeoutId);
return 1;
}
- nTtimeoutId = g_timeout_add(30000, Timeout_Function, g_pMainLoop);
+ nTtimeoutId = g_timeout_add(50000, Timeout_Function, g_pMainLoop);
g_main_loop_run(g_pMainLoop);
g_source_remove(nTtimeoutId);
if ( g_bCallbackResult == false )