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