Archiving Datasheets and libraries that may be required to reproduce old work.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
474 B

3 years ago
#ifndef MFRC522HACK_H
#define MFRC522HACK_H
#include <Arduino.h>
#include "MFRC522.h"
#include "MFRC522Debug.h"
class MFRC522Hack {
private:
MFRC522 *const _device;
public:
MFRC522Hack(MFRC522 *const device) : _device(device) {};
bool MIFARE_OpenUidBackdoor(const bool logErrors) const;
bool MIFARE_SetUid(const byte *newUid, const byte uidSize, const bool logErrors) const;
bool MIFARE_UnbrickUidSector(const bool logErrors) const;
};
#endif //MFRC522HACK_H