This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
Tags: Galarzaa90/android-things-rc522
Tags
Fixed error in writeBlock, improved example, improved method document… …ations and more - Renamed uuid field to uid and renamed getter. Old getter kept for backwards compatibility - AUTH_A and AUTH_B constants are now public - authenticateCard no longer requires uid parameter, old name kept for backwards compatibility - readBlock now takes buffer (byte array) parameter. The value read is stored there and the method returns a boolean indicating if the read was successful or not. If used without the buffer parameter, the value array will be returned, with no way to check if the read was successful or not - write renamed to writeBlock, old name kept for backwards compatibility - Fixed bug in writeBlock that was causing all writes to fail - New static function: getBlockAddress, given a sector and block, returns the block's absolute address - Updated README.md - Updated example app - Bumped to version 1.2.0 - Fixes #2