7 Teleservice Application Framework
User Manual 248/374
7.3.11 Signal
Header file: "Signal_handler.h"
7.3.11.1 Introduction
The ysignal daemon signalizes the current state of the module (for example Power ON) according to the D-Bus
signals of the ynetworkd and ygpsd.
The ysignal daemon can be used without the TAF components ynetworkd and ygpsd. If the daemon is
configured that way, it will listen to the D-Bus for signals that characterizes the current state of the module.
7.3.11.2 ysignald_internet_con_state
Function Description
sint32 ysignald_internet_con_state (const T_DBUS_Util * const opt_DBusInstance, const charn
* const opcn_SignalArgument);
This function sends the desired internet connection state via D-Bus.
To be able to use this function the UseExternalInternetState must be set to true.
UseExternalInternetState can be configured in the configuration file ysignald.config of the ysignal daemon (see
"Signal daemon" on page 108).
Information Flow
Input Information
holds all D-BUS information
"ETH"
"WLAN"
"PPP"
"NotConnected"
signalizes connected to the internet via ethernet
signalizes connected to the internet via wireless
lan
signalizes connected to the internet via ppp
signalizes lost connection to the internet
The signal daemon can only be used, when a LED is available on the used module.
In order to make the ysignal daemon independent of ynetword and ygpsd the according settings in
the ysignald.config file need to be adjusted. For further information see ysignal daemon (see "Signal
daemon" on page 108).