Nano RFID – reading Unique RFID tags via LAN
Nano RFID is a miniature module designed to read Unique standard RFID transponders. It has been designed for integration with Client’s own software. Communication with the module is carried out via LAN.
The code read from the tag is available via:
- built-in web server, using a standard web browser (preferred browsers are Mozilla Firefox, Opera, Google Chrome),
- HTTP server,
- HTTP client,
- Modbus TCP,
- SNMP.
The device is ready to operate after connecting it to the network and conducting a simple configuration.
To read the current status of the module via HTTP, refer to the subpage, for example: http://192.168.111.15/status.xml. A resource in XML format providing basic information will be displayed:
<status>
<netbios>NANO RFID</netbios>
<mac>00:00:00:00:00:00</mac>
<id>8500c2b4a8</id> <newId>0</newId>
<cnt>1</cnt>
<resetFlag>1</resetFlag>
<enable>1</enable>
<httpClientStatus>0</httpClientStatus>
</status>
| Section | Description |
|---|---|
| netbios | Module's NETBIOS name |
| mac | Module's MAC address |
| id | Last read RFID tag ID in hexadecimal format |
| newId |
In Control Only by HTTP GET mode: 1 - a new RFID tag has been read, 0 - no new RFID tags have been read. |
| cnt | Number of read RFID tags since last module restart |
| enable |
1 - radio module enabled, 0 - radio module disabled. |
| resetFlag | 1 - a module reset has occured |
| httpClientStatus |
Current TCP connection state in Control Only by HTTP Client mode: 1 - connected with server, socket open, 2 - data has been received from the server, 3 - connection terminated, 100 - no connection with server. |
Control of the module in the Control only by HTTP GET mode involves sending an appropriate command to the module via HTTP.
http://192.168.111.15/status.xml?
| No. | Command | Description |
|---|---|---|
| 1 | enable |
Enable the RFID module antenna http://192.168.111.15/status.xml?enable=1 Disable the RFID module antenna http://192.168.111.15/status.xml?enable=0 |
| 2 | resetFlag |
Flag set to 1 after a module reset or restart. Removing the reset flag http://192.168.111.15/status.xml?resetFlag=0 |
| 3 | releaseId |
Delete the read flag and await RFID tag application http://192.168.111.15/status.xml?releaseid=1 |
| 4 | led |
Activate the LED indicator led=TimeOn,TimeOff,Cnt TimeOn*0,1 seconds, TimeOff*0,1 seconds http://192.168.111.15/status.xml?led=5,3,4 *Activate the indicator for 0,5 seconds, deactivate for 0,3 seconds and repeat the sequence 4 times |
| 5 | buzz |
Sound generator activation buzz=TimeOn,TimeOff*0,1 seconds http://192.168.111.15/status.xml?buzz=5,3,4 *Activate the sound generator for 0,5 seconds, deactivate for 0,3 seconds and repeat the sequence 4 times |
Nano RFID modules can be integrated with Client’s own software. The reader can be configured to operate as a server (Control only by HTTP GET) or as a client (Control only by HTTP Client).
Server mode operation (Control only by HTTP GET):
In this mode, an external host connects to the module and manages it via HTTP.
The managing host periodically reads the contents of status.xml, and recalls specific functions in response to them.
After placing the tag in the read field, status.xml‘s fields will be filled and the ability to read the next tag is blocked until the Releaseid function is recalled, which makes the module await a new tag.
Using appropriate functions, the LED or sound indicator can be activated.
Client mode operation (Control only by HTTP Client):
In this mode, after a tag is read correctly, the module connects to the server and sends data about the read tag to the appropriate resource (with HPP GET). In response, LED or sound indicator state information can be downloaded.
The advantage of this mode is that the module itself sends the code to the server or control application immediately after the reading the tag.
For example, the read RFID tag number, MAC address of the reader or event time can be saved to a MySQL database or a file located on the server.
