ION CAENRFIDD DAEMON
- Ion Technical Information Manual
30
6
ION
CAENRFIDD
DAEMON
Introduction
The
caenrfidd
daemon represents the server side implementation of the CAEN RFID protocol, it handles the request
coming from the host computer and sends back the replies after having executed the requested actions. The client side
of the CAEN RFID protocol is implemented by the
CAEN RFID SDK (Software Development Kit)
.
Configuring the daemon
The
caenrfidd
daemon can be configured by modifying its configurations files. After editing the configurations files you
should restart the daemon in order to make effective the new settings:
# /etc/init.d/caenrfidd restart
The system wide configuration file
The
caenrfidd
daemon uses file
/etc/defaults/caenrfidd
as system wide configuration file. Here the default
content of file such on the Ion:
# Default settings for caenrfidd server. This file is sourced by /bin/sh from
# /etc/init.d/caenrfidd.
# Enable/disable the deamon.
# Use "yes" to enable.
CAENRFIDD_ENABLE=yes
# Set the default reader name
READER_NAME=ion
# Enable debugging mode
#DEBUG=yes
The variable
CAENRFIDD_ENABLE
can be used to enable/disable the daemon at startup while
READER_NAME
defines the default reader name (Ion, in this example).
The
DEBUG
variable enable/disable debugging messages into system log facility. You can see debugging messages into
file
/var/log/syslog
(use command
tail -f /var/log/syslog
to log all data on your terminal).
The main configuration file
The main configuration file is
/etc/caenrfidd/caenrfidd.conf
and it defines basic daemon configurations. Here
the default content of this file on the Ion:
# Package generated configuration file
# System configuration directory
#
# Set the default system configuration directory.
#
# Default:
# config_dir = "/etc/caenrfidd"
# Loggin level
#
# Set the default log level.
#
# Valid values are: debug, error and info.