- Enable, Disable, Reset the NFC
$PFAL,SYS.NFC.Enable=Serial0
$PFAL,SYS.NFC.Disable
$PFAL,SYS.NFC.Reset
- 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
- Event when detecting or removing an RFID card
SYS.NFC.eCARD="none"
SYS.NFC.eCARD="<ID>"
SYS.NFC.eLOST="<ID>"
- Dynamic entry (variable)
&(NFCUID)
Example as PFAL-Alarm
$PFAL,CNF.Set,AL1=SYS.NFC.eCARD:msg.send.serial1,0,"testNFC &(NFCUID)"
or
$PFAL,Sys.WhiteList.Set0="7A848E0B"
$PFAL,CNF.Set,AL1=SYS.NFC.eCARD=whitelist:msg.send.serial1,0,"NFC Card detected &(NFCUID)"
$PFAL,CNF.Set,AL2=SYS.NFC.eLost=whitelist:msg.send.serial1,0,"NFC card removed"
The message generated by AL1 looks like this: "NFC Card detected 7A848E0B".
The message generated by AL2 looks like: "NFC card removed"