Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple tags error #47

Open
kekec777 opened this issue Oct 16, 2020 · 0 comments
Open

Multiple tags error #47

kekec777 opened this issue Oct 16, 2020 · 0 comments

Comments

@kekec777
Copy link

Hi

First i want to say , that im new to this , so please be patient with me :)

I want to make a nfc scanner and have bought :
PN532 NFC RFID (Elechouse module v3)
ESP8266 (NodeMCU v3.0)
https://www.ebay.com/itm/NodeMcu-Lua-WIFI-Internet-Things-development-board-based-ESP8266-CP2102-module/201542946669?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

and have printed the case in 3D.

Soo my issue is that i have 3 tags i want to play aroung with :
#define NUM_ACCEPTED_UIDS 3 //<-----------------CHANGE THIS IF ADDING CARDS!!
NFCTag NFCTags[NUM_ACCEPTED_UIDS] = {
// It is neccessary to account for UID length since a 7 byte ID could contain a 4 byte ID, which would cause a misfire
// #0 #1 #2 #3 #4 #5 #6 #Tagname
// {{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, "Tag1", false, 0, false, {0}},
{{0xA, 0xE0, 0x39, 0x16}, "ChipO", false, 0, false, {0}},
{{0xAB, 0x55, 0xE, 0x1C}, "CardO", false, 0, false, {0}},
{{0x4, 0x4A, 0xCD, 0xB2, 0x2F, 0x66, 0x81}, "TAGO", false, 0, false, {0}},
};

BUT it seems no matter what i do , its only the first one that will be recognise?
any idea why?

thanks in advise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant