EAS HTTP Alarm
HTTP alarm configuration
AdvanNet can be configured to issue an HTTP request to see if a product has been paid or not and trigger an alarm. The alarm decision is based on the code and contents of the request response.
This read mode requires AdvanNet-2.3.15 or higher
Requirements
An HTTP/HTTPS server accepting post requests
AdvanNet configuration
Change to a Alarm mode configuration.
Go to the RF & Antenna Configuration tab.
Set Read mode to HTTP_EAS_ALARM.
The specific HTTP settings are
Connection
The connection options are:
Protocol: options are
HTTP
HTTPS
Host: hostname with the HTTP service
Port: port 0 is the default port
80 for http
443 for https
URL: Path to be sent. Some variables can be set on the url, which are:
${epc} : Tag EPC
${id} : Device ID
${time} : Timestamp of the alarm
Connection timeout: maximum connection timeout, expressed in ms.
Alarm match:
Alarm HTTP status code: if the response matches this status it will trigger an alarm
200
404
Positive response: in case the status is not define, the response body is compared with the positive response. In case of a positive match an alarm will be triggered.
Basic authentication
Username
Password
Other
Sound on server error if enabled the system will trigger an alarm in case the server cannot be reached
Query cache TTL (ms): defines a time where the same EPC will not generate repeated requests.
Apply and persist settings
The configuration applies automatically.
To persist settings click on the "Save" button on top.