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
"
Information Flow
Input Information
Parameter
Range
Description
opt_DBusInstance
T_DBUS_Util
holds all D-BUS information
opcn_SignalArgument
"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
NOTE:
The signal daemon can only be used, when a LED is available on the used module.
NOTE:
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 "
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...