Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Releases: Galarzaa90/android-things-rc522

v1.0.0

17 Apr 04:42
Compare
Choose a tag to compare

Changes

  • Updated to Android Things Developer Preview 7

v0.3.0

18 Jul 21:57
Compare
Choose a tag to compare

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)

v0.2.2

14 Jul 17:43
Compare
Choose a tag to compare

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.

v0.2.1

10 Jul 21:55
Compare
Choose a tag to compare

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

v0.2.0

10 Jul 21:25
Compare
Choose a tag to compare

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.

v0.1.2

10 Jul 21:24
Compare
Choose a tag to compare

Changes

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

v0.1.1

10 Jul 21:23
Compare
Choose a tag to compare

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.

v0.1.0

10 Jul 21:19
Compare
Choose a tag to compare

Features

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