|
|
1) Enable, Disable, Reset the NFC
|
|
|
```
|
|
|
$PFAL,SYS.NFC.Enable=Serial0
|
|
|
$PFAL,SYS.NFC.Disable
|
|
|
$PFAL,SYS.NFC.Reset
|
|
|
```
|
|
|
2) Controlling the LED's (green, red, white) on the NFC reader
|
|
|
|
|
|
```
|
|
|
(Green LED)
|
|
|
$PFAL,SYS.NFC.LED1,high
|
|
|
$PFAL,SYS.NFC.LED1,lpulse,1000
|
|
|
$PFAL,SYS.NFC.LED1,Low
|
|
|
$PFAL,SYS.NFC.LED1,hpulse,1000
|
|
|
$PFAL,SYS.NFC.LED1,cyclic,1000,1000
|
|
|
|
|
|
(Red LED)
|
|
|
$PFAL,SYS.NFC.LED2,high
|
|
|
$PFAL,SYS.NFC.LED2,lpulse,1000
|
|
|
$PFAL,SYS.NFC.LED2,Low
|
|
|
$PFAL,SYS.NFC.LED2,hpulse,1000
|
|
|
$PFAL,SYS.NFC.LED2,cyclic,1000,1000
|
|
|
|
|
|
(White LED)
|
|
|
$PFAL,SYS.NFC.LED3,high
|
|
|
$PFAL,SYS.NFC.LED3,lpulse,1000
|
|
|
$PFAL,SYS.NFC.LED3,Low
|
|
|
$PFAL,SYS.NFC.LED3,hpulse,1000
|
|
|
$PFAL,SYS.NFC.LED3,cyclic,1000,1000
|
|
|
```
|
|
|
3) Event when detecting a card
|
|
|
```
|
|
|
SYS.NFC.eCARD
|
|
|
```
|
|
|
4) Dynamic entry (variable)
|
|
|
```
|
|
|
&(NFCUID)
|
|
|
```
|
|
|
Example as PFAL-Alarm
|
|
|
```
|
|
|
$PFAL,CNF.Set,AL1=SYS.NFC.eCARD:msg.send.serial1,0,"testNFC &(NFCUID)"
|
|
|
``` |
|
|
\ No newline at end of file |