upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
PN532 Class Reference

Classes

class  BAUD_T
 
class  MIFARE_CMD_T
 
class  NDEF_URI_T
 
class  PN532_CMD_T
 
class  PN532_RSP_T
 
class  TAG_TYPE_T
 

Public Member Functions

synchronized void delete ()
 
 PN532 (int irq, int reset, int bus, short address)
 
 PN532 (int irq, int reset, int bus)
 
 PN532 (int irq, int reset)
 
boolean init ()
 
long getFirmwareVersion ()
 
boolean sendCommandCheckAck (byte[] cmd, short cmdlen, int timeout)
 
boolean sendCommandCheckAck (byte[] cmd, short cmdlen)
 
boolean SAMConfig ()
 
boolean setPassiveActivationRetries (short maxRetries)
 
boolean readPassiveTargetID (PN532.BAUD_T cardbaudrate, byte[] uid, short[] uidLength, int timeout)
 
boolean inDataExchange (byte[] send, short sendLength, byte[] response, short[] responseLength)
 
boolean inListPassiveTarget ()
 
boolean mifareclassic_IsFirstBlock (long uiBlock)
 
boolean mifareclassic_IsTrailerBlock (long uiBlock)
 
boolean mifareclassic_AuthenticateBlock (byte[] uid, short uidLen, long blockNumber, short keyNumber, byte[] keyData)
 
boolean mifareclassic_ReadDataBlock (short blockNumber, byte[] data)
 
boolean mifareclassic_WriteDataBlock (short blockNumber, byte[] data)
 
boolean mifareclassic_FormatNDEF ()
 
boolean mifareclassic_WriteNDEFURI (short sectorNumber, PN532.NDEF_URI_T uriIdentifier, String url)
 
boolean ntag2xx_ReadPage (short page, byte[] buffer)
 
boolean ntag2xx_WritePage (short page, byte[] data)
 
boolean ntag2xx_WriteNDEFURI (PN532.NDEF_URI_T uriIdentifier, String url, short dataLen)
 
int getATQA ()
 
short getSAK ()
 
void pn532Debug (boolean enable)
 
void mifareDebug (boolean enable)
 
PN532.TAG_TYPE_T tagType ()
 

Protected Member Functions

 PN532 (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (PN532 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

The documentation for this class was generated from the following file: