User's Manual

48
Chapter
4
ASCII Command
P
r
ot
oc
ol
Command structure falls
into
one
of
three
groups:
1.
Perform a
function.
2. Assign a
variable.
3. Query a
variable.
P
er
f
orm
a
Function
A
function performs an operation
that
may
or
may
not
display any results.
A
function may
not be
queried.
An
example
of
a function
is to write the
variable settings
to
flash memory
using
rfid:cfg.write
CR
.
Certain functions
that
display a value
or
series
of
values display
the
string between curly braces
for
easy parsing. For example,
the rfid:qid
function
output displays:
{0x00BB,
1,
0x0000
,80;0x00000080
1CD19
31B2F14}
Assign
a
Variable
There are three
t
ypes
of variables:
1.
Boolean
2.
Integer
3.
Character
Examples
of
Boolean
As
signments
rfid:op.beep=0
rfid:op.beep=true
rfid:op.beep=False
rfid:op.beep=F
Examples
o f
Integer
As
signment
rfid:out.led=0003
rfid:out.led=3
Note: Some integer values require a 16
bit
hexadecimal
entry
.
For Example: pcProx Plus card
t
ypes:
rfid:cfg.card.type=0xFFFF
Examples
of
Character
As
signment
rfid:Delim.
Chr
.
f
ac=’:’
CR
rfid:Delim.
Chr
.
f
ac=’x3a’
CR