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.
Last updated
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.
Last updated
2023 - MTools Tec
The connection of ACR122U is USB. If you’re connecting it with your Android phone, an OTG adapter is necessary.
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.
ACR122U allows loading 2 Mifare Keys(6 Bytes) in 2 locations.
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.
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 Classic Block
Write Mifare Ultralight Page
The bi-color LED and Buzzer all can be configured with commands. This command makes ACR122U much more cool and flexible to use.
FF
00
01
LED
State Control (Bit 7 --- Bit 0)
04
Blinking Duration Control
Bi-Color LED and Buzzer Control Format (1 byte)
Bit 0
Final State : Red LED
1 = On ; 0 = Off
Bit 1
Final State : Green LED
1 = On ; 0 = Off
Bit 2
State Mask : Red LED
1 = Update the State 0 = No change
Bit 3
State Mask : Green LED
1 = Update the State 0 = No change
Bit 4
Initial Blinking State : Red LED
1 = On ; 0 = Off
Bit 5
Initial Blinking State : Green LED
1 = On ; 0 = Off
Bit 6
Blinking Mask : Red LED
1 = Blink 0 = Not Blink
Bit 7
Blinking Mask : Green LED
1 = Blink 0 = Not Blink
Bi-Color LED Blinking Duration Control Format (4 Bytes)
T1 Duration Initial Blinking State ( Unit = 100 ms )
T2 Duration Toggle Blinking State ( Unit = 100 ms )
Number of repetition
Link to Buzzer
Link to the Buzzer and control the buzzer state during the LED Blinking.
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.
Coming soon