Dynamic Inventory
Introduction
This read mode requires AdvanNet-2.5.1 or higher.
This read mode is designed for AdvanTrack systems, but it can also work with any general purpose reader.
Dynamic Inventory Mode keeps track of tags in the field and generates TAG_ADD and TAG_REMOVED events.
The logic that generates the TAG_ADD and TAG_REMOVED events can be customized to avoid false events.
Configuration
Select the Sequential system mode. Now select the DYNAMIC_INVENTORY read Mode
The settings for the Read mode can be send in the capture below
Options
Read time: the time per antenna
Read automatically: when enabled the system will start doing inventory rounds without user intervention
Please use it together with the following options
Added tag window (m): The sliding time window (in minutes) used to calculate the minimum number of reads of a certain tag to be added to the inventory.
Added tag min reads: The minimum number of reads in a time window required to consider a tag to be part of the tracked inventory. When a tag is read, the tag read history for that tag is checked, if the number of reads is Added tag min reads or larger, the tag is added into the tracked inventory, and a TAG_ADD event is generated.
Removed tag window (m): The sliding time window (in minutes) used to infer a tag is no longer part of the tracked inventory.
Specific settings
Location threshold (%): Accuracy threshold of tag location. Very high thresholds may discard tags really located in selected zones
The configuration applies automatically. To persist changes click on the "Save" button on the top.
Related configuration
HTTP_SERVICE
In case TAG_ADD and TAG_REMOVED 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_ADDED",
"path":"'/inventory/added'",
"body":"
var body='{';
body+='\"type\": \"'+ctx_type+'\",';
body+='\"devid\": \"'+ctx_devid+'\",';
body+='\"devip\": \"'+ctx_devip+'\",';
body+='\"devmac\": \"'+ctx_devmac+'\",';
body+='\"epc\": \"'+ctx_epc+'\",';
body+='\"uri\": \"'+ctx_uri+'\"';
body+='}';
"
},
{
"event":"TAG_REMOVED",
"path":"'/inventory/removed'",
"body":"
var body='{';
body+='\"type\": \"'+ctx_type+'\",';
body+='\"devid\": \"'+ctx_devid+'\",';
body+='\"devip\": \"'+ctx_devip+'\",';
body+='\"devmac\": \"'+ctx_devmac+'\",';
body+='\"epc\": \"'+ctx_epc+'\",';
body+='\"uri\": \"'+ctx_uri+'\"';
body+='}';
"
}]