Back to VSCP Daemon Documentation.
The full configuration file format is described here 40_vscpd_config_file.
In the <general> tab area settings that affect the behavior of the server in general is located.
Use to set the port for the daemon UDP broadcasts. Default is 9598.
Use to set the port for the daemon TCP/IP interface. Default is 9598.
Loglevel 0-10 where 0 is no logging and 10 is debug mode. Default is 1.
Enable/disable daemon TCP/IP interface. Default is enabled.
Enable/disable daemon UDP interface. Default is enabled.
Enable/disable daemon driver interface. If diabled no drivers will be loaded. Default is enabled.
Enable/disable daemon internal VSCP functionality. If disbled the server will no longer react on events like the High end server probe etc. Default is enabled.
Enable/disable the internal decision matrix of the daemon. Default is enabled.
Set the server GUID for the daemon. If not set here a GUID will be formed from the (first) MAC address of the machine the daemon runs on (on Linux needs to be run as root to get this) or if this fails the local IP address is used to form the GUID.
This is the default buffer size (number of events) for all clients in the system. Everything from a driver to a TCP/IP user is regarded as a client. Default is 1024.
In the <remoteuser» tab area settings that affect users on that can access the daemon through the TCP/IP interface is located. Each user is defined between a <user>…</user> pair.
Username for this user.
Password ad an md5 checksum for this user. The mkvscppw can be user to generate passwords.
Users can have privileges from 0-15 that allow them to do command that are equal to or less then the set privilege level. Enter a privilege level as 0-15 here or in symbolic form as admin (==15) or user (==4). Default is 4.
This is a comma separated list with host addresses this user is allowed to log in to the server from. Whildcards can be used to indicate “all”. This mean that
means a user can log in from all remote machines.
194.*.*.*
that he/she can log on from all ip addresses that starts with 194 and son on. Default is all.
This is a comma seperated list of evenets this user is allowed to send. The form is
class:type,class:type
wildcards (*)can be used for both. This means that 20:*,30:* means that the user is allowed to send all evenst in class=20 and class=30. Default allows user to send all evenst.
Set the mask for incoming events to a client. The form is
priority="xxx" class="xxx" type="xxx" GUID="xxx">
The mask has a bit set for a binary digit that is of interest. Default is all is null == disabled.
Set the filter for incoming events to a client. The form is
class="xxx" type="xxx" GUID="xxx"
If a mask bit is set to one for a position then the filter bit must be equal to the bit of the incoming event for the client to get it.
In the <automation> tab area settings that affect the internal VSCP functionality behavior of the server is located.
This is the zone for the server 0-154.
This is the sub-zone for the server 0-154.
Longitude for place where daemon is located.
Latitude for place where daemon is located.
Enable/disable the periodic CLASS1.PROTOCOL, Type=1 (Segment Status Heartbeat) event to be sent from the daemon. The interval between events is set in seconds.
<time enable="true|false" interval="seconds" />
Enable/disable the CLASS1.INFORMATION, Type=44 (Sunrise) to be sent. Longitude and latitude must be set for this to work correctly.
<sunrise enable="true|false" />
Enable/disable the CLASS1.INFORMATION, Type=45 (Sunset) to be sent. Longitude and latitude must be set for this to work correctly.
<sunset enable="true|false" />
Enable/disable the CLASS1.INFORMATION, Type=9 (Node Heartbeat) to be sent. The interval between events is set in seconds.
<heartbeat enable="true|false" interval="seconds" />
In the <canaldriver> tab area settings for loadable drivers is located. Each driver is located between <driver>…</driver> pairs.
This is the name of the driver.
This is the driver option string.
This is the path to the driver dll/dl.
This is the driver flags. A 32-bit numerical value.
This is the GUID for the driver. If not set, the client GUID which is generated from the daemon GUID, is used.
This section holds information about each TCP/IP interface the daemon service. Normally no need to enter this information.
The TCP/IP port to use for the interface. Default is 9598.
IP address to use for interface.
MAC address for thernet card where interface is. Entered as a six digit hex number on the form
aa:bb:cc:dd:ee:ff
GUID for the interface.
Discussion