This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
Releases: Galarzaa90/android-things-rc522
Releases · Galarzaa90/android-things-rc522
v1.0.0
v0.3.0
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
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 conditionscalculateAccessConditions()
- 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 usingwriteBlock()
by putting together the whole block data by yourself.
v0.2.1
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
Changes
- Fixed: Authenticating and writing to cards.
- Fixed:
AUTH_A
andAUTH_B
are public constants now, as they should have always been. - Fixed: Renamed
getUuid()
togetUid()
, old name still available for compatibility - Fixed: Renamed
write()
towriteBlock()
for consistency withreadBlock()
. 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
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
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
Features
- Poll for RFID tags or use a listener
- Read and write sectors on RFID tags