-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9e79033
commit 579a50e
Showing
1 changed file
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,39 @@ | ||
|
||
# Topaz512-driver ![Maven build](https://github.com/mdeverdelhan/Topaz512-driver/workflows/Maven%20build/badge.svg?branch=master) | ||
|
||
Java library/driver for Innovision/Broadcom Topaz512 NFC tags | ||
Here is a simple Java library/driver for building commands to communicate with Innovision/Broadcom Topaz512 NFC tags. | ||
|
||
### Features | ||
|
||
* Fully compliant with Broadcom BCM20203T512 specification | ||
* JDK 11 or later | ||
* MIT Licensed | ||
|
||
### Build | ||
|
||
```bash | ||
~$ mvn clean package | ||
``` | ||
|
||
### Usage | ||
|
||
```java | ||
Topaz512 t512 = new Topaz512(); | ||
|
||
// Getting tag UID | ||
byte[] ridCommand = t512.buildRidCommand(); | ||
byte[] tagUid = ...; // Send the RID command and get the tag UID | ||
|
||
// Reading 8 bytes at block 0x1A | ||
byte add8 = Topaz512.buildAdd8((byte) 0x1A); | ||
byte[] read8Command = t512.buildRead8Command(add8); | ||
byte[] read8Response = ...; // Send the READ8 command and get the 8 bytes | ||
``` | ||
|
||
## About the Topaz512 tags | ||
|
||
TODO | ||
|
||
## Donations | ||
|
||
Bitcoin address: 13BMqpqbzJ62LjMWcPGWrTrdocvGqifdJ3 |