
PI1X Basic Programming Manual Ver. 1.10
118/156
3.21
RFHOST (Only for PI-1060) commands
Purpose
:
Start RF module.
Syntax
:
N1%=RFHOST_OPEN
Example
:
Result%=RFHOST_OPEN
…
RFHOST_CLOSE
Description
:
The command will start the RF module work.
When open RF module, the module need 1 second to start.
N1%
is an integer variable to be assigned to the result.
N1%
Meaning
0
Open fail.
1
RF module is opened.
2
RF module is opening.
Purpose
:
Stop RF module.
Syntax
:
RFHOST_CLOSE
Example
:
Result%=RFHOST_OPEN
…
RFHOST_CLOSE
Description
:
The command will stop the RF module work.
Purpose
:
Call the tag.
Syntax
:
N1%=RFHOST_CALLTAG(S1$,N2%)
Example
:
Result%=RFHOST_OPEN
ID$="F1FAFBF1"
C%=RFHOST_CALLTAG(ID$, 341)
PRINT "Call ID result=";C%
RFHOST_CLOSE
Description
:
The command can call tag by ID, and tag will beep.
The S1$ is for ID of tag.
The N2% setting as follows: (2 byte of beeping pattern.)
Bit
15
14
13
12
11
10
9
8
Function
Reserve
Loop
Bit
7
6
5
4
3
2
1
0
Function
Stop
Beep3
Beep2
Beep1