User's Manual

Table Of Contents
User Manual
3000 SERIES 3
rd
GENERATION ACTIVE RFID
change hysteresis -2048 +2047 1.0 Hysteresis value of the alarm temperature change
range in degrees Celsius per sample period
6.9 Logging and flushing
In dynamic environments where SmartPoints enter and leave the network, the log and flush drivers
can be used to retrieve all 'missing' samples/measurements. For example, when a SmartPoint is
attached to a truck, all temperature measurements are lost when the SmartPoint is not in range of
the network. With logging and flushing these measurements can be restored.
In order to describe how to set-up the logging and flushing functionality, a short introduction of
DDI (Device Driver Interface) is required. For detailed DDI information, please take a look at the
DDI specification which can be obtained from the Ambient Systems Support website.
DDI has the following operations:
1. Request/return. A device can sent a request message to a certain driver, the receiver checks
validity, executes the function and the result of the function is sent in return.
2. Invoke. A device can sent an invoke message to a certain driver, the receiver checks validity,
executes the function. No return is sent.
3. Push. Certain drivers, like the temperature driver on the SmartPoint can sample the
temperature at certain intervals and 'push' this message into the network.
4. Error. The error message type is used whenever a request or invoke is issued and the ddi call
is invalid (e.g it doe not exist or the payload is wrong).
5. Alert. Certain drivers, like the temperature driver on the SmartPoint can sample the
temperature at certain intervals and 'push' this message into the network. However if the
alarm driver of, in this case the temperature driver is configured as well and there is an
alarm situation, the message type is not a push message but an alert message. Alert
messages have higher priority and travel therefore faster through the network.
6. FlushPush. This message type is use to indicate that a message is a measurement from the
past and the original message type was a push.
7. FlushAlert. This message type is use to indicate that a message is a measurement from the
past and the original message type was an alert.
Only push and alert messages can be logged (and flushed). Please note that the payload of the flush
(alert) and flushpush (flushalert) is exactly the same. Only the message type is changed
1
.
6.9.1 Configuration of the log and flush driver
In release 1.0 of the 3000 series, two drivers can be logged in parallel. These log is stored in the log
file log_0 and log_1. The maximum amount of samples which can be logged is configurable, 2048
samples per log file is the upper limit.
In Ambient Studio, select a SmartPoint in the tree view of the Driver panel. Unfold the the available
drivers and select 0:System, 12:Logger and 1:SetLogConfig. Select whether log-index 0 or 1 has to be
used, the size of the log file and select which driver has to be logged. For the temperature driver this
1 the DDI-timestamp as this is attached to sample when receiving it in Ambient Studio
41/73 Ambient Systems B.V.