Terminal for ACR122U & PN532
MTools App brings Terminal functions for ACR122U and PN532 via USB. Also bluetooth connection to PN532 with SPP module. You can run raw commands easily and debug PN532 or ACR122U with Android devices.
Terminal for ACR122U
The connection of ACR122U is USB. If you’re connecting it with your Android phone, an OTG adapter is necessary.
Get Presented Tag info
Before running on the command, the tag needs to be put on the reader. To get the UID of the connected PICC.
To get the ATS of the connected ISO 14443 A PICC.
Load Mifare Key
ACR122U allows loading 2 Mifare Keys(6 Bytes) in 2 locations.
Verify Mifare Block
Note: The MIFARE Classic 1K Card, has a total of 16 sectors and each sector consists of 4 consecutive blocks. E.g. Sector 00h consists of Blocks {00h, 01h, 02h and 03h}; Sector 01h consists of Blocks {04h, 05h, 06h and 07h}; the last sector 0F consists of Blocks {3Ch, 3Dh, 3Eh and 3Fh}. Once the authentication is done successfully, there is no need to authenticate again if the blocks to be accessed belong to the same sector. Please refer to the MIFARE Classic 1K/4K specification for more details.
Note: MIFARE Ultralight does not need to do any authentication. The memory is free to access.
Read Mifare Block
Once the sector is successfully authenticated, the commands to read or write the block can be executed with the problem.
Read Mifare Classic Block (16 Bytes)
Read Mifare Ultralight Page (4 Bytes)
Read Mifare Ultralight 4 Pages (16 Bytes)
Write Mifare Block
Write Mifare Classic Block
Write Mifare Ultralight Page
Set Buzzer and LED
The bi-color LED and Buzzer all can be configured with commands. This command makes ACR122U much more cool and flexible to use.
LED State Control
Bi-Color LED and Buzzer Control Format (1 byte)
Blinking Duration Control
Bi-Color LED Blinking Duration Control Format (4 Bytes)
Byte 3 Options
Link to the Buzzer and control the buzzer state during the LED Blinking.
Response
Buzzer and LED Notes
Direct Transmit to PN532
This is the payload to be sent to the tag or reader with a specific command ahead.
Check the checkbox of Direct Transmit and send the command of PN532. The command of PN532 is listed in the next section.
Terminal for PN532
Coming soon
Last updated