Frage zu HB-UNI-Sen-RFID-RC

Entwicklung und Bau von Hardware aller Art, die im HM-Umfeld eingesetzt werden kann

Moderator: Co-Administratoren

jp112sdl
Beiträge: 12108
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 848 Mal
Danksagung erhalten: 2148 Mal
Kontaktdaten:

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von jp112sdl » 29.04.2021, 18:22

coronaxxl hat geschrieben:
29.04.2021, 18:03
Was muss man machen, damit man die Chip ID´s in der CCU wieder sieht?
https://github.com/jp112sdl/HB-UNI-Sen- ... uerbefehle

z.B.:

Code: Alles auswählen

dom.GetObject("BidCos-RF.JPRFID0001:1.SUBMIT").State("0xfe");
sendet die ChipID von Kanal1 zur CCU

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

coronaxxl
Beiträge: 31
Registriert: 07.01.2017, 19:20
Danksagung erhalten: 3 Mal

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von coronaxxl » 30.04.2021, 07:43

Danke für die Hilfe. Aber warum ist das nicht im Initteil des Sketches?

jp112sdl
Beiträge: 12108
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 848 Mal
Danksagung erhalten: 2148 Mal
Kontaktdaten:

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von jp112sdl » 30.04.2021, 07:48

Ist es... musst nur die Kommentarzeichen entfernen:
https://github.com/jp112sdl/HB-UNI-Sen- ... #L258-L260

Ich selbst möchte das nicht.
Die Übertragung dauert sehr lange und nach einem Stromausfall möchte ich nicht, dass das Gerät mehrere Sekunden lang im Funk alles dicht macht. Da melden sich schon zig andere Geräte.

Die ChipID-Anzeige brauche ich in der WebUI nur zu Wartungszwecken.Eigentlich ist sie uninteressant.

Du könntest z.B. auch die Kanäle so benennen wie die ChipID ist, dann siehst du es auch immer direkt.

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

zahnheinrich
Beiträge: 62
Registriert: 15.06.2015, 09:14
Hat sich bedankt: 1 Mal
Danksagung erhalten: 3 Mal

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von zahnheinrich » 22.04.2023, 19:32

Hallo Jérôme,

ich habe den HB-UNI-Sen-RFID-RC nachgebaut und in Bertrieb genommen, zwei Tags angemeldet.

Die Funktion ist teilweise gegeben mit folgenden Problemen:

Das Auslesen zweier angelernter Tags funktioniert nur sporadisch im Abstand von Minuten, gar nicht im Sekundenabstand.
Beim scannen eins Tags bekomme ich, wenn es funktioniert, zwei kurze beeps im Abstand einer Sekunde, egal wie lange ich den Tag präsentiere, ein longpress wird nicht erkannt.
Der serielle Monitor gibt beim Start ein "Packet too big: 53" aus:

Code: Alles auswählen

AskSin++ v5.0.2 (Apr 22 2023 17:30:55)
Address Space: 32 - 510
CC init1
CC Version: 04
 - ready
Config Freq: 0x216632
Init MFRC522 Reader... Firmware Version: 0x92
Config Changed List0
Activate Cycle Msg
<- 0E 01 A2 10 F33C00 13C71B 06 02 00 00 00  - 129
-> 0A 01 80 02 13C71B F33C00 00  - 387
waitAck: 01
Packet too big: 53
ignore 0C 90 86 70 1D9062 000000 00 BC 38  - 10352
ignore 0E FB 84 53 E90101 13C71B 00 C1 01 00 81  - 29779
Packet too big: 53
ignore 19 10 00 8F 5CA7D7 B4B9E9 00 00 3C 1D 41 9A 0F EC 07 BD CD 3A C8 2C A6 69  - 32161
ignore 0B EF A2 58 20214C 203C13 00 00  - 56580
Packet too big: 53
ignore 19 10 00 8F 5CA7D7 B4B9E9 00 00 3C 1E D8 17 55 A9 74 2F A8 8E 59 34 BC EF  - 58355
ignore 0C CA 86 70 19E0FB 000000 00 9F 43  - 58634
ignore 14 7A A4 5F 38B916 13C71B 8B D2 D1 00 00 00 00 00 08 F0 FC  - 59820
ignore 0A 7A 80 02 13C71B 38B916 00  - 60057
ignore 14 1D 84 5E 2AB5B5 000000 90 DF 49 00 00 00 00 00 08 F7 FC  - 69742
ignore 0E FC 84 53 E90101 13C71B 00 C1 01 00 84  - 71067
ignore 0C 72 86 70 201BAA 000000 00 C6 37  - 83980
Packet too big: 53
ignore 19 10 00 8F 5CA7D7 B4B9E9 00 00 3C 1F 8D 1E CD 3C 03 0E B3 01 9F 07 37 18  - 84563
released
<- 0B 02 A2 40 F33C00 13C71B 03 00  - 90699
-> 0A 02 80 02 13C71B F33C00 00  - 90966
waitAck: 01
ignore 0C 2F 86 70 1728A4 000000 00 D0 32  - 94658
ignore 0C 50 86 70 202130 000000 00 C6 36  - 103714
Packet too big: 53
ignore 19 10 00 8F 5CA7D7 B4B9E9 00 00 3C 20 0C DD 38 8E 46 86 48 3A DD C2 7F BC  - 110778
ignore 0E FD 84 53 E90101 13C71B 00 C1 01 00 83  - 112353
ignore 0B 72 A2 58 201BAA 203C09 00 00  - 123922
ignore 0E 72 82 02 203C09 201BAA 01 01 00 00 28  - 124186
ignore 0C 64 86 70 2024EA 000000 00 CB 34  - 130281
ignore 0E 0D 82 02 203C6B 2023A1 01 01 00 00 39  - 130791

Was kann ich verbessern?
Ulrich

jp112sdl
Beiträge: 12108
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 848 Mal
Danksagung erhalten: 2148 Mal
Kontaktdaten:

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von jp112sdl » 23.04.2023, 07:57

Hmm so richtig eine Idee hab ich nicht.

Packet too big kommt, wenn zu lange Telegramme empfangen werden.
Das kann passieren, wenn anderes Zeug auch auf der Frequenz funkt
zahnheinrich hat geschrieben:
22.04.2023, 19:32
Beim scannen eins Tags bekomme ich, wenn es funktioniert, zwei kurze beeps im Abstand einer Sekunde, egal wie lange ich den Tag präsentiere, ein longpress wird nicht erkannt.
Kommt da auch was an seriellen Ausgaben?

Du könntest im Sketch oben mal #define HIDE_IGNORE_MSG hinzufügen, damit die ganzen ignore-Ausgaben rausgefiltert werden

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

zahnheinrich
Beiträge: 62
Registriert: 15.06.2015, 09:14
Hat sich bedankt: 1 Mal
Danksagung erhalten: 3 Mal

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von zahnheinrich » 24.04.2023, 14:15

Hmm, danke für Deine Antwort!

Ich habe nochmal alle zusätzlich in der Arduino library installierten Zusatzmodule mit MFRC522* entfernt und scheitere nach der Neuinstallation der library MFRC522 Vers. 1.4.10 beim kompilieren an der Fehlermeldung

Code: Alles auswählen

C:\Users\Uli\Documents\Arduino\HB-UNI-Sen-RFID-RC\HB-UNI-Sen-RFID-RC.ino:17:10: fatal error: MFRC522Constants.h: No such file or directory
 #include <MFRC522Constants.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: MFRC522Constants.h: No such file or directory
Auch ein update auf Arduino IDE 2.1.0 hat nichts gebracht, der Fehler bleibt, auch nachdem ich die MFRC522Constants.h über "Datei hinzufügen" in den Sketch eingefügt habe.
Interessanterweise ging es ja zu Beginn einwandfrei.
Füge ich weitere MFRC522* librarys ein, bekomme ich den Fehler, zu viele Bibliotheken gefunden:

Code: Alles auswählen

C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PICC_ReadCardSerial()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_CalculateCRC(unsigned char*, unsigned char, unsigned char*)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_Reset()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_AntennaOn()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_AntennaOff()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_GetAntennaGain()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_SetAntennaGain(unsigned char)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_Init()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_PerformSelfTest()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_SoftPowerDown()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_SoftPowerUp()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_CommunicateWithPICC(unsigned char, unsigned char, unsigned char*, unsigned char, unsigned char*, unsigned char*, unsigned char*, unsigned char, bool)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_TransceiveData(unsigned char*, unsigned char, unsigned char*, unsigned char*, unsigned char*, unsigned char, bool)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PICC_REQA_or_WUPA(unsigned char, unsigned char*, unsigned char*)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PICC_RequestA(unsigned char*, unsigned char*)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PICC_IsNewCardPresent()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PICC_WakeupA(unsigned char*, unsigned char*)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PICC_HaltA()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_StopCrypto1()'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_Read(unsigned char, unsigned char*, unsigned char*)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_Ultralight_Write(unsigned char, unsigned char*, unsigned char)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_TwoStepHelper(unsigned char, unsigned char, long)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_Decrement(unsigned char, long)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_Increment(unsigned char, long)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_Restore(unsigned char)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_Transfer(unsigned char)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_GetValue(unsigned char, long*)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PCD_MIFARE_Transceive(unsigned char*, unsigned char, bool)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_Write(unsigned char, unsigned char*, unsigned char)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::MIFARE_SetValue(unsigned char, long)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\RFID_MFRC522v2\MFRC522v2.cpp.o (symbol from plugin): In function `MFRC522::PICC_ReadCardSerial()':
(.text+0x0): multiple definition of `MFRC522::PICC_GetType(unsigned char)'
C:\Users\Uli\AppData\Local\Temp\arduino\sketches\24A323445E751545EA287E312DFB4749\libraries\MFRC522\MFRC522.cpp.o (symbol from plugin):(.text+0x0): first defined here
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src/MFRC522.h:78:7: warning: type 'struct MFRC522' violates the C++ One Definition Rule [-Wodr]
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: a different type is defined in another translation unit
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src/MFRC522.h:366:7: note: the first difference of corresponding definitions is field '_chipSelectPin'
  byte _chipSelectPin;  // Arduino pin connected to MFRC522's SPI slave select input (Pin 24, NSS, active low)
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:198:18: note: a field with different name is defined in another translation unit
   MFRC522Driver &_driver;
                  ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:1068:21: warning: 'MIFARE_SetValue' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_SetValue(byte blockAddr, int32_t value) {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1177:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_SetValue(byte blockAddr, int32_t value) {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1177:21: note: 'MIFARE_SetValue' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_SetValue(byte blockAddr, int32_t value) {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1177:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:172:14: warning: 'MIFARE_Write' violates the C++ One Definition Rule  [-Wodr]
   StatusCode MIFARE_Write(byte blockAddr, byte *buffer, byte bufferSize);
              ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:987:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Write( byte blockAddr, ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The page (2-15) to write to.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:878:21: warning: 'MIFARE_Write' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_Write(byte blockAddr, ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The page (2-15) to write to.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:987:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Write( byte blockAddr, ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The page (2-15) to write to.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:987:21: note: 'MIFARE_Write' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_Write( byte blockAddr, ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The page (2-15) to write to.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:987:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:1147:21: warning: 'PCD_MIFARE_Transceive' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::PCD_MIFARE_Transceive(byte *sendData,    ///< Pointer to the data to transfer to the FIFO. Do NOT include the CRC_A.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1254:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PCD_MIFARE_Transceive( byte *sendData,  ///< Pointer to the data to transfer to the FIFO. Do NOT include the CRC_A.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1254:21: note: 'PCD_MIFARE_Transceive' was previously declared here
 MFRC522::StatusCode MFRC522::PCD_MIFARE_Transceive( byte *sendData,  ///< Pointer to the data to transfer to the FIFO. Do NOT include the CRC_A.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1254:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:1043:21: warning: 'MIFARE_GetValue' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_GetValue(byte blockAddr, int32_t *value) {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1152:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_GetValue(byte blockAddr, int32_t *value) {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1152:21: note: 'MIFARE_GetValue' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_GetValue(byte blockAddr, int32_t *value) {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1152:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:1017:21: warning: 'MIFARE_Transfer' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_Transfer(byte blockAddr ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1126:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Transfer( byte blockAddr ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1126:21: note: 'MIFARE_Transfer' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_Transfer( byte blockAddr ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1126:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:974:21: warning: 'MIFARE_Restore' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_Restore(byte blockAddr ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1083:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Restore( byte blockAddr ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1083:21: note: 'MIFARE_Restore' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_Restore( byte blockAddr ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1083:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:960:21: warning: 'MIFARE_Increment' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_Increment(byte blockAddr, ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1069:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Increment( byte blockAddr, ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1069:21: note: 'MIFARE_Increment' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_Increment( byte blockAddr, ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1069:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:946:21: warning: 'MIFARE_Decrement' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_Decrement(byte blockAddr, ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1055:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Decrement( byte blockAddr, ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1055:21: note: 'MIFARE_Decrement' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_Decrement( byte blockAddr, ///< The block (0-0xff) number.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1055:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:986:21: warning: 'MIFARE_TwoStepHelper' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_TwoStepHelper(byte command,  ///< The command to use
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1095:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_TwoStepHelper( byte command, ///< The command to use
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1095:21: note: 'MIFARE_TwoStepHelper' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_TwoStepHelper( byte command, ///< The command to use
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1095:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:913:21: warning: 'MIFARE_Ultralight_Write' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_Ultralight_Write(byte page,    ///< The page (2-15) to write to.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1022:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Ultralight_Write( byte page,   ///< The page (2-15) to write to.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1022:21: note: 'MIFARE_Ultralight_Write' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_Ultralight_Write( byte page,   ///< The page (2-15) to write to.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1022:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:171:14: warning: 'MIFARE_Read' violates the C++ One Definition Rule  [-Wodr]
   StatusCode MIFARE_Read(byte blockAddr, byte *buffer, byte *bufferSize);
              ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:952:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Read( byte blockAddr,  ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The first page to return data from.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:171:14: warning: 'MIFARE_Read' violates the C++ One Definition Rule  [-Wodr]
   StatusCode MIFARE_Read(byte blockAddr, byte *buffer, byte *bufferSize);
              ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:952:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Read( byte blockAddr,  ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The first page to return data from.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:843:21: warning: 'MIFARE_Read' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::MIFARE_Read(byte blockAddr,  ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The first page to return data from.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:952:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::MIFARE_Read( byte blockAddr,  ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The first page to return data from.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:952:21: note: 'MIFARE_Read' was previously declared here
 MFRC522::StatusCode MFRC522::MIFARE_Read( byte blockAddr,  ///< MIFARE Classic: The block (0-0xff) number. MIFARE Ultralight: The first page to return data from.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:952:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:170:8: warning: 'PCD_StopCrypto1' violates the C++ One Definition Rule  [-Wodr]
   void PCD_StopCrypto1();
        ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:931:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_StopCrypto1() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:170:8: warning: 'PCD_StopCrypto1' violates the C++ One Definition Rule  [-Wodr]
   void PCD_StopCrypto1();
        ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:931:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_StopCrypto1() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:822:6: warning: 'PCD_StopCrypto1' violates the C++ One Definition Rule  [-Wodr]
 void MFRC522::PCD_StopCrypto1() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:931:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_StopCrypto1() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:931:6: note: 'PCD_StopCrypto1' was previously declared here
 void MFRC522::PCD_StopCrypto1() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:931:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:164:14: warning: 'PICC_HaltA' violates the C++ One Definition Rule  [-Wodr]
   StatusCode PICC_HaltA();
              ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:857:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PICC_HaltA() {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:164:14: warning: 'PICC_HaltA' violates the C++ One Definition Rule  [-Wodr]
   StatusCode PICC_HaltA();
              ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:857:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PICC_HaltA() {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:748:21: warning: 'PICC_HaltA' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::PICC_HaltA() {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:857:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PICC_HaltA() {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:857:21: note: 'PICC_HaltA' was previously declared here
 MFRC522::StatusCode MFRC522::PICC_HaltA() {
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:857:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:161:14: warning: 'PICC_WakeupA' violates the C++ One Definition Rule  [-Wodr]
   StatusCode PICC_WakeupA(byte *bufferATQA, byte *bufferSize);
              ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:589:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PICC_WakeupA( byte *bufferATQA, ///< The buffer to store the ATQA (Answer to request) in
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:485:21: warning: 'PICC_WakeupA' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::PICC_WakeupA(byte *bufferATQA,  ///< The buffer to store the ATQA (Answer to request) in
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:589:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PICC_WakeupA( byte *bufferATQA, ///< The buffer to store the ATQA (Answer to request) in
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:589:21: note: 'PICC_WakeupA' was previously declared here
 MFRC522::StatusCode MFRC522::PICC_WakeupA( byte *bufferATQA, ///< The buffer to store the ATQA (Answer to request) in
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:589:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:473:21: warning: 'PICC_RequestA' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::PICC_RequestA(byte *bufferATQA,  ///< The buffer to store the ATQA (Answer to request) in
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:577:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PICC_RequestA( byte *bufferATQA, ///< The buffer to store the ATQA (Answer to request) in
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:577:21: note: 'PICC_RequestA' was previously declared here
 MFRC522::StatusCode MFRC522::PICC_RequestA( byte *bufferATQA, ///< The buffer to store the ATQA (Answer to request) in
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:577:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:497:21: warning: 'PICC_REQA_or_WUPA' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::PICC_REQA_or_WUPA(byte command,    ///< The command to send - PICC_Command::PICC_CMD_REQA or PICC_Command::PICC_CMD_WUPA
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:601:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PICC_REQA_or_WUPA( byte command,   ///< The command to send - PICC_CMD_REQA or PICC_CMD_WUPA
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:601:21: note: 'PICC_REQA_or_WUPA' was previously declared here
 MFRC522::StatusCode MFRC522::PICC_REQA_or_WUPA( byte command,   ///< The command to send - PICC_CMD_REQA or PICC_CMD_WUPA
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:601:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:158:14: warning: 'PCD_TransceiveData' violates the C++ One Definition Rule  [-Wodr]
   StatusCode PCD_TransceiveData(byte *sendData, byte sendLen, byte *backData, byte *backLen, byte *validBits = nullptr, byte rxAlign = 0, bool checkCRC = false);
              ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:449:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PCD_TransceiveData( byte *sendData,  ///< Pointer to the data to transfer to the FIFO.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src/MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:355:21: warning: 'PCD_TransceiveData' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::PCD_TransceiveData(byte *sendData,    ///< Pointer to the data to transfer to the FIFO.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:449:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PCD_TransceiveData( byte *sendData,  ///< Pointer to the data to transfer to the FIFO.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:449:21: note: 'PCD_TransceiveData' was previously declared here
 MFRC522::StatusCode MFRC522::PCD_TransceiveData( byte *sendData,  ///< Pointer to the data to transfer to the FIFO.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:449:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:373:21: warning: 'PCD_CommunicateWithPICC' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::PCD_CommunicateWithPICC(byte command,    ///< The command to execute. One of the PCD_Command enums.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:467:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PCD_CommunicateWithPICC( byte command,  ///< The command to execute. One of the PCD_Command enums.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:467:21: note: 'PCD_CommunicateWithPICC' was previously declared here
 MFRC522::StatusCode MFRC522::PCD_CommunicateWithPICC( byte command,  ///< The command to execute. One of the PCD_Command enums.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:467:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:330:6: warning: 'PCD_SoftPowerUp' violates the C++ One Definition Rule  [-Wodr]
 void MFRC522::PCD_SoftPowerUp() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:423:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_SoftPowerUp(){
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:423:6: note: 'PCD_SoftPowerUp' was previously declared here
 void MFRC522::PCD_SoftPowerUp(){
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:423:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:321:6: warning: 'PCD_SoftPowerDown' violates the C++ One Definition Rule  [-Wodr]
 void MFRC522::PCD_SoftPowerDown() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:417:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_SoftPowerDown(){//Note : Only soft power down mode is available throught software
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:417:6: note: 'PCD_SoftPowerDown' was previously declared here
 void MFRC522::PCD_SoftPowerDown(){//Note : Only soft power down mode is available throught software
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:417:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:221:6: warning: 'PCD_PerformSelfTest' violates the C++ One Definition Rule  [-Wodr]
 bool MFRC522::PCD_PerformSelfTest() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:326:6: note: implicit this pointer type mismatch
 bool MFRC522::PCD_PerformSelfTest() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:326:6: note: 'PCD_PerformSelfTest' was previously declared here
 bool MFRC522::PCD_PerformSelfTest() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:326:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:170:6: warning: 'PCD_GetAntennaGain' violates the C++ One Definition Rule  [-Wodr]
 byte MFRC522::PCD_GetAntennaGain() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:304:6: note: implicit this pointer type mismatch
 byte MFRC522::PCD_GetAntennaGain() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:304:6: note: 'PCD_GetAntennaGain' was previously declared here
 byte MFRC522::PCD_GetAntennaGain() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:304:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:159:6: warning: 'PCD_AntennaOff' violates the C++ One Definition Rule  [-Wodr]
 void MFRC522::PCD_AntennaOff() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:293:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_AntennaOff() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:293:6: note: 'PCD_AntennaOff' was previously declared here
 void MFRC522::PCD_AntennaOff() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:293:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:149:6: warning: 'PCD_AntennaOn' violates the C++ One Definition Rule  [-Wodr]
 void MFRC522::PCD_AntennaOn() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:283:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_AntennaOn() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:283:6: note: 'PCD_AntennaOn' was previously declared here
 void MFRC522::PCD_AntennaOn() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:283:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:132:6: warning: 'PCD_Reset' violates the C++ One Definition Rule  [-Wodr]
 void MFRC522::PCD_Reset() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:267:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_Reset() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:267:6: note: 'PCD_Reset' was previously declared here
 void MFRC522::PCD_Reset() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:267:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:40:21: warning: 'PCD_CalculateCRC' violates the C++ One Definition Rule  [-Wodr]
 MFRC522::StatusCode MFRC522::PCD_CalculateCRC(byte *data,    ///< In: Pointer to the data to transfer to the FIFO for CRC calculation.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:156:21: note: implicit this pointer type mismatch
 MFRC522::StatusCode MFRC522::PCD_CalculateCRC( byte *data,  ///< In: Pointer to the data to transfer to the FIFO for CRC calculation.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:156:21: note: 'PCD_CalculateCRC' was previously declared here
 MFRC522::StatusCode MFRC522::PCD_CalculateCRC( byte *data,  ///< In: Pointer to the data to transfer to the FIFO for CRC calculation.
                     ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:156:21: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:1255:6: warning: 'PICC_IsNewCardPresent' violates the C++ One Definition Rule  [-Wodr]
 bool MFRC522::PICC_IsNewCardPresent() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1925:6: note: implicit this pointer type mismatch
 bool MFRC522::PICC_IsNewCardPresent() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1925:6: note: 'PICC_IsNewCardPresent' was previously declared here
 bool MFRC522::PICC_IsNewCardPresent() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1925:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:1277:6: warning: 'PICC_ReadCardSerial' violates the C++ One Definition Rule  [-Wodr]
 bool MFRC522::PICC_ReadCardSerial() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1947:6: note: implicit this pointer type mismatch
 bool MFRC522::PICC_ReadCardSerial() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1947:6: note: 'PICC_ReadCardSerial' was previously declared here
 bool MFRC522::PICC_ReadCardSerial() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1947:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:75:6: warning: 'PCD_Init' violates the C++ One Definition Rule  [-Wodr]
 bool MFRC522::PCD_Init() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:198:6: note: return value type mismatch
 void MFRC522::PCD_Init() {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:198:6: note: type 'void' should match type 'bool'
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:198:6: note: 'PCD_Init' was previously declared here
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:198:6: note: code may be misoptimized unless -fno-strict-aliasing is used
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.cpp:179:6: warning: 'PCD_SetAntennaGain' violates the C++ One Definition Rule  [-Wodr]
 void MFRC522::PCD_SetAntennaGain(byte mask) {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:313:6: note: implicit this pointer type mismatch
 void MFRC522::PCD_SetAntennaGain(byte mask) {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:78:7: note: type 'struct MFRC522' itself violates the C++ One Definition Rule
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2\src\MFRC522v2.h:104:7: note: the incompatible type is defined here
 class MFRC522 {
       ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:313:6: note: 'PCD_SetAntennaGain' was previously declared here
 void MFRC522::PCD_SetAntennaGain(byte mask) {
      ^
c:\Users\Uli\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:313:6: note: code may be misoptimized unless -fno-strict-aliasing is used
collect2.exe: error: ld returned 1 exit status
Mehrere Bibliotheken wurden für "deprecated.h" gefunden
  Benutzt: C:\Users\Uli\Documents\Arduino\libraries\MFRC522
  Nicht benutzt: C:\Users\Uli\Documents\Arduino\libraries\RFID_MFRC522v2
exit status 1

Compilation error: exit status 1
Ich weiss, ist vermutlich ein Arduino IDE Problem, aber hast du evtl dennoch einen Tip für mich?
Bin nach stundenlangem Probieren ratlos...

Ulrich

jp112sdl
Beiträge: 12108
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 848 Mal
Danksagung erhalten: 2148 Mal
Kontaktdaten:

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von jp112sdl » 24.04.2023, 19:39

Lt Google gibt es die Datei nur in der MFRC522v2?
https://github.com/OSSLibraries/Arduino ... master/src

Schmeiß den Ordner sonst noch mal komplett weg und nimm mal die
https://github.com/miguelbalboa/rfid

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

zahnheinrich
Beiträge: 62
Registriert: 15.06.2015, 09:14
Hat sich bedankt: 1 Mal
Danksagung erhalten: 3 Mal

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von zahnheinrich » 25.04.2023, 15:48

Schmeiß den Ordner sonst noch mal komplett weg und nimm mal die...
Danke, das hat geholfen!

Das board läuft jetzt wie es soll, vielen Dank für Deine Vorlage!

Eine Frage habe ich noch:

Da ich das board sowie die gesamte HM unter iobroker verwende, benötige ich keines Deiner Programme aus Deinem Wiki.
Ich weiss nicht, ob es mit dem Fehlen zusammenhängt, es gelingt mir nicht, mittels "0xfe" die tag-ID´s neu in die CCU zu übertragen.
Nach einem reboot der CCU erkennt das board ja keinen tag mehr.
Als workaround kann ich die ID´s mittels "0x8a,0x78,0x76,0x80,0x00,0x00,0x00,0x00" usw. für jeden tag neu einlesen. Ein einfaches "0xfe" wäre natürlich deutlich eleganter. Hast du da einen Tip?

VG Ulrich

jp112sdl
Beiträge: 12108
Registriert: 20.11.2016, 20:01
Hat sich bedankt: 848 Mal
Danksagung erhalten: 2148 Mal
Kontaktdaten:

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von jp112sdl » 25.04.2023, 21:20

zahnheinrich hat geschrieben:
25.04.2023, 15:48
Nach einem reboot der CCU erkennt das board ja keinen tag mehr.
Das stimmt nicht.
Sie werden lediglich in der CCU nicht angezeigt.
Im Gerät sind sie weiterhin gespeichert.

Code: Alles auswählen

dom.GetObject("BidCos-RF.JPRFID0001:1.SUBMIT").State("0xfe");
sollte den Chip ID des 1. Kanals wieder zur CCU übertragen (damit sie dort angezeigt wird).

Also das Übertragen hat letztlich nur kosmetische Gründe. Ich mach das z.B. nicht mehr nach jedem CCU Reboot, weil ich meine Kanäle entsprechend benannt habe und somit weiß, welcher RFID-Tag hinter welchem Kanal mal angelernt wurde.

VG,
Jérôme ☕️

---
Support for my Homebrew-Devices: Download JP-HB-Devices Addon

RaspiUser0815
Beiträge: 127
Registriert: 27.05.2018, 18:53
Hat sich bedankt: 9 Mal
Danksagung erhalten: 2 Mal

Re: Frage zu HB-UNI-Sen-RFID-RC

Beitrag von RaspiUser0815 » 26.04.2023, 13:56

zahnheinrich hat geschrieben:
Da ich das board sowie die gesamte HM unter iobroker verwende, benötige ich keines Deiner Programme
... ich nutze ebenfalls alle Homematic Geräte im ioBroker ...

Kannst Du mir sagen, was ich hier viewtopic.php?f=76&t=78745 falsch mache ? :roll:
Oder welche Datenpunkte verwendest Du ? :idea:

Antworten

Zurück zu „Hardwareentwicklung und Selbstbau von Aktoren und Sensoren“