Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
W wiki
  • Project overview
    • Project overview
    • Details
    • Activity
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
Collapse sidebar
  • pub
  • wiki
  • Wiki
  • NFC_commands,_event,_dynamic_variable

Last edited by Saleh Mohamad Feb 28, 2019
Page history
This is an old version of this page. You can view the most recent version or browse the history.

NFC_commands,_event,_dynamic_variable

NOTE: ONLY FOR THE NEW FOX3 FAMILY and the FW 3.xx, i.e. WITH THE NEW CPU

  1. Enable, Disable, Reset the NFC
$PFAL,SYS.NFC.Enable=Serial0
$PFAL,SYS.NFC.Disable
$PFAL,SYS.NFC.Reset
  1. Controlling the LED's (green, red, white) on the NFC reader
(Red 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

(Green 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
  1. Events when detecting or removing an RFID card
SYS.NFC.eCARD="none"
SYS.NFC.eCARD="<ID>"
SYS.NFC.eLOST="<ID>"
  1. 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"
Clone repository
  • AVL Filesystem
  • BOLERO40_GNSS_improvement
  • BOLERO40_improvement_of_the_GNSS_performance
  • NFC_commands,_event,_dynamic_variable
  • Promotion_Kit_Settings
  • Workbench Mac Installation Readme
  • avl_aes_key_handling
  • avl_ble
  • avl_blueid
  • avl_config_commented_1
  • avl_ecodrive
  • avl_feature_list
  • avl_frp_main
  • avl_fw_update
  • avl_premium_feature_cpc
View All Pages