Android Things Rc522 Versions Save

Android library to communicate with RFID Module RC522

1.0.0

6 years ago

Changes

  • Updated to Android Things Developer Preview 7

0.3.0

6 years ago

Changes

  • Added Increment, Decrement, Transfer and Restore commands support:
    • increaseBlock
    • decreaseBlock
    • transferBlock
    • restoreBlock
  • New functions to format and read value blocks: writeValue, readValue
  • Added debug logging, to enable use setDebugging(true)

0.2.2

6 years ago

Changes

  • Fixed: readBlock() was always returning true, making you think everything was perfect.
  • Added two new static methods to calculate access bits and access conditions:
    • calculateAccessBits() - Calculates bytes 6, 7 and 8 for a sector's trailer, based on a given access conditions
    • calculateAccessConditions() - Does the opposite, calculates access conditions, given the access bits
  • Added writeTrailer() function, writes KEY A, KEY B and access bits to a sector's trailer. Note that this can be done using writeBlock() by putting together the whole block data by yourself.

0.2.1

6 years ago

Changes

  • Added getUidString() to print a numeric representation of the tag's UID, e.g. 65-146-43-82-114
  • Added static method dataToHexString() to print a block's data as a hexadecimal string, e.g. 87D612007829EDFF87D6120011EE11EE

0.2.0

6 years ago

Changes

  • Fixed: Authenticating and writing to cards.
  • Fixed: AUTH_A and AUTH_B are public constants now, as they should have always been.
  • Fixed: Renamed getUuid() to getUid(), old name still available for compatibility
  • Fixed: Renamed write() to writeBlock() for consistency with readBlock(). Old name still available for compatibility.
  • New: getBlockAddress() static method to calculate a sector's block's absolute address, e.g. sector 2, block 2 address is 10.

0.1.2

6 years ago

Changes

  • Fixes: Removed listener functionality as it wasn't really working as intended.
  • Constructors don't need context anymore, backwards compatible methods were kept.

0.1.1

6 years ago

Changes

  • Fixed: android things dependencies were being imported incorrectly, causing Java 8 to be required to use the library. It has been fixed. You can stll use Java 8 if you want, that's cool.

0.1.0

6 years ago

Features

  • Poll for RFID tags or use a listener
  • Read and write sectors on RFID tags