7 Teleservice Application Framework
User Manual 237/374
} T_DBUS_Util;
Output Information
name of the actual connected interface, "ETH",
"WLAN", "PPP", "NotConnected"
Function executed without error
D-Bus communication error
Invalid interface length or NULL pointer
Example
sint32 s32_Retval = C_NO_ERR;
T_DBUS_Util mt_DBUS_Util;
uint8 au8_Name[20] = {0};
s32_Retval = ynetworkd_get_connected_interface (&mt_DBUS_Util, au8_Name, sizeof(au8_Name));
if (s32_Retval == C_NO_ERR)
{
// Go on
}
7.3.9.3 ynetworkd_start_connection
Function Description
sint32 ynetworkd_start_connection (const T_DBUS_Util *const opt_DBusInstance, const uint32
ou32_ConTime)
The function turns ynetworkd into connectivity mode for ou32_ConTime seconds. After ou32_ConTime
seconds without a recall of the function, the ynetworkd automatically turns back into not connected mode.
Information Flow
Input Information
holds all D-BUS information
Time in seconds to stay in connectivity mode