# MifareClassic

Start from base library version 2.11.2. Please remaining backward compatible.

MifareClassic label

# method

# MifareClassic.connect()

Connect NFC label

# MifareClassic.close()

Disconnection

# MifareClassic.setTimeout(Object object)

Set timeout

# MifareClassic.isConnected()

Check if you are connected

# MifareClassic.getMaxTransceiveLength()

Get the maximum transmission length

# MifareClassic.transceive(Object object)

Sending data

Block reading and writing for Mifare Classic

  • instruction 0x30 + Block number Can be used to read data from a block
  • instruction 0xA0 + Block number + Data to be written Can be used to write data to a block