Using NFC Reader ACR122U
Installed libnfc from here link1
Running an Attendance Project on Raspberry Pi 2 using python, mysql on github .
What do I want to achieve?
I WANTED TO MONITOR THE USER when they scan from the NFC Reader
Explaining in details Case Scenario: let's say you had 10 NFC readers in a company, how would you programmatically differentiate an NFC reader from another especially if the user scanned their tag?
database querying: solution!? I was thinking querying user's profile data. for example, if you scan, your name, Id and time of scan will be added in a mysql table. I am still struggling on how to Identify the NFC reader in this mysql table field example.
Here is how regex is able to uniquely identify the NFC tags:
uid = re.search(r'((\w){2}\s\s){4}',output).group(0).strip().split(" ")
uid = ' '.join(uid).upper()
Is there a way to distinguish NFC Readers from other readers?
Thank you