@@ -1,11 +1,10 @@
|
|||||||
/*
|
/*
|
||||||
* MFRC522.cpp - Library to use ARDUINO RFID MODULE KIT 13.56 MHZ WITH TAGS SPI W AND R BY COOQROBOT.
|
* Library extends MFRC522.h to support RATS for ISO-14443-4 PICC.
|
||||||
* NOTE: Please also check the comments in MFRC522.h - they provide useful hints and background information.
|
* RATS - Request for Answer To Select.
|
||||||
* Released into the public domain.
|
* NOTE: Please also check the comments in MFRC522Extended.h
|
||||||
|
* @author JPG-Consulting
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <Arduino.h>
|
|
||||||
#include "MFRC522.h"
|
|
||||||
#include "MFRC522Extended.h"
|
#include "MFRC522Extended.h"
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -74,10 +74,17 @@ public:
|
|||||||
// Member variables
|
// Member variables
|
||||||
TagInfo tag;
|
TagInfo tag;
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Contructors
|
||||||
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
MFRC522Extended() : MFRC522() {};
|
||||||
|
MFRC522Extended(uint8_t rst) : MFRC522(rst) {};
|
||||||
|
MFRC522Extended(uint8_t ss, uint8_t rst) : MFRC522(ss, rst) {};
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Functions for communicating with PICCs
|
// Functions for communicating with PICCs
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
StatusCode PICC_Select(Uid *uid, byte validBits = 0); // overwrite
|
StatusCode PICC_Select(Uid *uid, byte validBits = 0); // overwrite
|
||||||
StatusCode PICC_RequestATS(Ats *ats);
|
StatusCode PICC_RequestATS(Ats *ats);
|
||||||
StatusCode PICC_PPS(); // PPS command without bitrate parameter
|
StatusCode PICC_PPS(); // PPS command without bitrate parameter
|
||||||
StatusCode PICC_PPS(TagBitRates sendBitRate, TagBitRates receiveBitRate); // Different D values
|
StatusCode PICC_PPS(TagBitRates sendBitRate, TagBitRates receiveBitRate); // Different D values
|
||||||
|
|||||||
Reference in New Issue
Block a user