Make Mifare example use only the libnfc public API.
This commit is contained in:
parent
bda739eb8f
commit
3ec0b9376c
1 changed files with 1 additions and 3 deletions
|
@ -4,8 +4,6 @@
|
||||||
|
|
||||||
#include <nfc/nfc.h>
|
#include <nfc/nfc.h>
|
||||||
|
|
||||||
#include "chips/pn53x.h"
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Execute a MIFARE Classic Command
|
* @brief Execute a MIFARE Classic Command
|
||||||
* @return Returns true if action was successfully performed; otherwise returns false.
|
* @return Returns true if action was successfully performed; otherwise returns false.
|
||||||
|
@ -21,7 +19,7 @@
|
||||||
*/
|
*/
|
||||||
bool nfc_initiator_mifare_cmd(const nfc_device_t* pnd, const mifare_cmd mc, const uint8_t ui8Block, mifare_param* pmp)
|
bool nfc_initiator_mifare_cmd(const nfc_device_t* pnd, const mifare_cmd mc, const uint8_t ui8Block, mifare_param* pmp)
|
||||||
{
|
{
|
||||||
byte_t abtRx[MAX_FRAME_LEN];
|
byte_t abtRx[265];
|
||||||
size_t szRxLen;
|
size_t szRxLen;
|
||||||
size_t szParamLen;
|
size_t szParamLen;
|
||||||
byte_t abtCmd[265];
|
byte_t abtCmd[265];
|
||||||
|
|
Loading…
Reference in a new issue