Read emulation
Introduction
Sometimes it is very convenient to emulate reads, as if they were really originated from the RFID sub-module.
This is possible by issuing an HTTP GET request, this can be done from any web browser.
When emulating reads, the reader must be in RUNNING mode. Emulation will not work when the reader is in STOP mode.
Read emulation URL
The particular HTTP GET request to emulate a single read is
HTTP GET ${device-ip}:3161/devices/${device-id}/dbg/publish/${epc}:${port}:${mux1}:${mux2}:${rssi}:${tid}
Where:
${epc}: the hexadecinal EPC value
${port}: the reader port for the read
${mux1}: the level 1 multiplexer port for the read
${mux2}: the level 2 multiplexer port for the read
${rssi}: the RSSI value for the read
${tid}: the hexadecinal TID value
${epc} and ${port} are required, while the others are optional values.
To use the ${tid} it is required to define all parameters
Examples
http://192.168.1.112:3161/devices/AdvanReader-m2-60/dbg/publish/30080210281389619fe550b0:1:0:0:-50:a034d37cf0230003
(change the IP and device ID)
http://192.168.1.112:3161/devices/AdvanReader-m2-70-cd13/dbg/publish/30080210281389619fe550b0:1:0
(change the IP and device ID)
Multiple-read emulation URL
The particular HTTP GET request to emulate multiple read is
HTTP GET ${device-ip}:3161/devices/${device-id}/dbg/publish/${epc}:${port}:${mux1}:${mux2}:${rssi}:${tdi},${epc}:${port}:${mux1}:${mux2}:${rssi}:${tid},etc
It follows the same format as the single read scenario, with a comma-separated list of reads
Where:
${epc}: the hexadecinal EPC value
${port}: the reader port for the read
${mux1}: the level 1 multiplexer port for the read
${mux2}: the level 2 multiplexer port for the read
${rssi}: the RSSI value for the read
${tid}: the hexadecinal TID value
${epc} and ${port} are required, while the others are optional values.
To use the ${tid} it is required to define all parameters
Examples
http://192.168.1.112:3161/devices/AdvanReader-m2-60/dbg/publish/30080210281389619fe550b0:1:0:0:-50:a034d37cf0230003,30080210281389619fe550b1:1:0
(change the IP and device ID)