Device
Functions
©
SYS TEC electronic GmbH 2007 L-1032e_9
41
4.5.3
mkif
Format:
mkif <type> <if-num> [<if-name>]
Description: The
command
mkif
creates a new interface of type
<type>
and integrates it in the Gateway’s processing
chain. The interface appears under the given name
<if-name>
or under the type name with a number
suffix within the
/if
folder. The number
<if-num>
is
given continuously. The available interfaces are
described in
section
4.2.
The interface can be removed using the
rm
command
(refer to section 4.5.5)
.
The following files are created:
/if/<if-name>/..
Link to parent directory
/if/<if-name>/conf
Static
configuration
of the interface (format
is interface specific). This file is intended for
future expansions and is currently unused.
/if/<if-name>/fin
Configuration of the input filter, i.e. for
messages from the interface to the Gateway
/if/<if-name>/fout
Configuration of the output filter, i.e. for
messages from the Gateway to the interface
Example:
/ >mkif tcp 0 tcpclient
creates an interface with the name
tcpclient
/ >mkif can
creates a CAN interface with the name
can0
Summary of Contents for GW-003
Page 5: ...Contents SYS TEC electronic GmbH 2007 L 1032e_9 Index 97 ...
Page 8: ...CAN Ethernet Gateway SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 14: ...CAN Ethernet Gateway 6 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 56: ...CAN Ethernet Gateway 48 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 66: ...CAN Ethernet Gateway 58 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 100: ...CAN Ethernet Gateway 92 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 108: ...Published by SYS TEC electronic GmbH 2007 Ordering No L 1032e_9 Printed in Germany ...