6 Software
User Manual
62/374
ppp0.
export IP_FORWARDING="OFF"
# NAT options will be used in case IP forwarding is activated.
# Deactivate service by setting export to "OFF", else activates the NAT for network
interface (wlan0 / eth0).
export ETH0_NAT="OFF"
export WLAN0_NAT="OFF"
6.4.5
CAN
High Level Hardware Access
The Socket CAN package is an implementation of CAN (Controller Area Network) protocols for Linux. CAN is a
networking technology which has wide-spread use in automation, embedded devices, and automotive fields.
While there have been other CAN implementations for Linux based devices, Socket CAN uses the Berkeley
socket API, the Linux network stack and implements the CAN device drivers as network interfaces. The CAN
socket API has been designed as similar as possible to the TCP/IP protocols to allow programmers, who are
familiar with network programming, easily to learn how to use CAN sockets.
Get local information
It is possible to read out the local settings of the can0 and can1 devices, such as RX bytes, TX bytes,....
# ifconfig can0; ifconfig can1
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:780 (780.0 B)
Interrupt:145
can1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:780 (780.0 B) TX bytes:0 (0.0 B)
Interrupt:146
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 ...