6 Software
User Manual
46/374
6.4
Network handling
For network handling use the network daemon that handles network interfaces automatically.
Precondition:
The network daemon must be started. The network daemon is not started during the boot up automatically.
How to activate the network daemon see network daemon (see "
Library
Function
Brief
ynetworkd_get_connected_interface
(see
"
ynetworkd_get_connected_interface
on page 236)
The TAF library function returns the connection status.
ynetwortkd_start_connection (see
"
" on
page 237)
The TAF library function turns the network daemon into connectivity
mode.
ynetworkd_stop_connection (see
"
" on
page 238)
The TAF library function disconnects the current network connection.
High Level Hardware Access
Path
Input
information
Output information
Description
/etc/init.d/scripts/network p1
Interfaces file
/etc/network/interfaces includes
the following network options:
dhcp .. get IP via DHCP
lan_static .. static IP
from etc/init.d/rc.conf
lan_static_networkd ..
static IP used only by
the ynetworkd
wlan_static .. static IP
from etc/init.d/rc.conf
This shell script creates the
temporary file /tmp/interfaces and
initializes the ethernet (eth0) and
the CAN (can0/1) depending on the
network options from
/etc/init.d/rc.conf. It is also started
by the boot up sequence.
p1:
< start > / < restart >
creates the interface file
and initializes eth0 and
can0/1 depending on
/etc/init.d/rc.conf
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 ...