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
Содержание TC1
Страница 1: ...TC1 User Manual Version of this document V1 00r0 ...
Страница 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Страница 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Страница 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Страница 174: ...7 Teleservice Application Framework User Manual 174 374 ADDRESS 6 SIZE 4 TYPE UINT32 UNIT COMMENT EnginePower ...
Страница 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...
Страница 223: ...7 Teleservice Application Framework User Manual 223 374 Association between logic hysteresis and threshold ...
Страница 293: ...8 Development Tools User Manual 293 374 3 Adapt the Build Options in order to build the binary with debug symbols ...
Страница 302: ...8 Development Tools User Manual 302 374 2 Adapt the Build Options in order to build the binary with debug symbols ...