7.4
Control over HTTP in Client mode
Controlling the module in
Enable HTTP Client
mode.
After correct reading of the RFID tag the reader sends to the appropriate server resource mac
data=123456789012&id=1314151617 eg.
http://192.168.111.99/rfid.php?mac=123456789012&id=1314151617
In response, the server can send nothing, or send the XML resource with tags:
O.n
Command
Name
Description
1
<time>
1- Display time on LCD
0 - Do not display time on LCD
2
<clear>
1- Clear the LCD
3
<text>
Writes text on the LCD. The transition to the new line
follows another 20 characters. For example, if the
second line is to start with the HELLO text, the text
should be preceded by 20 SPACE characters.
4
<textxy>
Writes text on the LCD display in the correct position.
Syntax: xXXyYY_TEXT eg x05y02_HELLO
5
<ledg>
Turn on signaling led green
Syntax: <ledg>TimeOn,TimeOff,Cnt</ledg> (like in
HTTP GET)
6
<ledr>
Turn on signaling led red
Syntax: <ledr>TimeOn,TimeOff,Cnt</ledr> (like in
HTTP GET)
7
<open>
1- Relay activation (bolt control)
8
<buzz>
1-turn on beep (ACCEPT sound)
2-turn on the beep (REJECT sound)
The xml file can contain fields (the example triggers the accept sound signal, opens the door and displays the
text on the LCD):
<buzz>1</buzz>
<clear>0</clear>
<text>Enter please</text>
User manual RFID IND-U4, RFID IND-U2
Page
25
from
31