AdvanFlow Read Mode

Introduction

This read mode requires AdvanNet-2.5.4 or higher.

AdvanFlow Mode is an operation mode designed for transition portals and similar systems.

The operation of the AdvanFlow mode works as follows:

    • Raw data is pre-filtered using a noise reduction algorithm

    • Data not filtered out is processed by capturing batches of epcs being detected.

    • Direction of data batches is estimated according to any available means: RFID data and sensors

    • Every batch of data generates several TAG_DIRECTION events that are handled as any other system event: sending out to SQL, MQTT, HTTP, etc

Configuration

Select the AdvanFlow system mode

Relevant Options

All specific options to this read mode are defined in the Advanced JSON conf. A complete example of configuration is:

{"debug":true,"calibrationSecs":120,"noise":{"epcCacheSize":512, "cacheExpirationMins":120, "activePeriodSecs":180, "reenablePeriodMins":60}}

The explanation for the options are:

    • debug: add additional debug messages

    • calibtrationSecs: calibration time in seconds. The calibration time avoids generating events for those tags that are read continuously

    • noise filter options:

      • activePeriodSecs: the first time a tag is read a time window of duration activePeriodSecs secs is started. During this time window the tag is eligible to generate movement events.

      • reenablePeriodMins: a tag read at a certain time that has expired the activePeriodSecs time window will only be eligible again to generate movement events if it is not read at all for a period of reenablePeriodMins minutes

      • afterSentPeriodSecs: time after a successful move event that a tag is not eligible for further events

Apply the configuration by clicking the Apply config button, or the Apply & save config in case you also want to persist it.

Related configuration

HTTP_SERVICE

In case TAG_MOVE events should be sent to a HTTP Server, please use the following configuration as a base configuration for your required data format.

The JSON content being:

[{

"event":"TAG_MOVE",

"path":"'/inventory/removed'",

"body":"

var body='{';

body+='\"type\": \"'+ctx_type+'\",';

body+='\"subtype\": \"'+ctx_subtype+'\",';

body+='\"devid\": \"'+ctx_devid+'\",';

body+='\"devip\": \"'+ctx_devip+'\",';

body+='\"devmac\": \"'+ctx_devmac+'\",';

body+='\"epc\": \"'+ctx_epc+'\",';

body+='\"uri\": \"'+ctx_uri+'\"';

body+='}';

"

}]