mbed code for the Kinoma team's wireless assignment

Dependencies:   mbed

Fork of idd_hw5_kinoma_rememberkeys by Sean McQueen

Embed: (wiki syntax)

« Back to documentation index

Adafruit_PN532.cpp File Reference

Adafruit_PN532.cpp File Reference

Go to the source code of this file.


Detailed Description

Author:
Adafruit Industries BSD (see license.txt)

SPI Driver for NXP's PN532 NFC/13.56MHz RFID Transceiver

This is a library for the Adafruit PN532 NFC/RFID breakout boards This library works with the Adafruit NFC breakout ----> https://www.adafruit.com/products/364

Check out the links above for our tutorials and wiring diagrams These chips use SPI to communicate, 4 required to interface

Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!

HISTORY

v1.4 - Added setPassiveActivationRetries()

v1.2 - Added writeGPIO()

  • Added readGPIO()

v1.1 - Changed readPassiveTargetID() to handle multiple UID sizes

  • Added the following helper functions for text display static void PrintHex(const uint8_t * data, const uint32_t numuint8_ts) static void PrintHexChar(const uint8_t * pbtData, const uint32_t numuint8_ts)
  • Added the following Mifare Classic functions: bool mifareclassic_IsFirstBlock (uint32_t uiBlock) bool mifareclassic_IsTrailerBlock (uint32_t uiBlock) uint8_t mifareclassic_AuthenticateBlock (uint8_t * uid, uint8_t uidLen, uint32_t blockNumber, uint8_t keyNumber, uint8_t * keyData) uint8_t mifareclassic_ReadDataBlock (uint8_t blockNumber, uint8_t * data) uint8_t mifareclassic_WriteDataBlock (uint8_t blockNumber, uint8_t * data)
  • Added the following Mifare Ultalight functions: uint8_t mifareultralight_ReadPage (uint8_t page, uint8_t * buffer)

Definition in file Adafruit_PN532.cpp.