1.0. Introduction ACR1255U-J1 Bluetooth® NFC Reader acts as an interface for the communication between a computer/mobile device and a contactless smart card or NFC-enabled device. It establishes a uniform interface from the computer/mobile device to the smart card for a wide variety of cards. By taking care of the card’s particulars, it releases the computer software programmer from being responsible with...
3.0. System Block Diagram ACR1255U-J1 Buzzer LEDs Switch Bluetooth Mobile device or Computer Bluetooth Module Antenna Computer Re-chargeable battery Figure 1: ACR1255U-J1 Architecture Page 7 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
For USB communication architecture, the protocol between ACR1255U-J1 and other devices follow the CCID protocol. All communications for NFC are PC/SC–compliant. ACR1255U-J1 PCSC NFC Interface USB Interface (CCID) PCSC Layer T=CL & T=1 Emulation ISO 14443/ISO 18092 Interface Physical Interface...
Bluetooth Smart protocol stack architecture is as follows: GAP Peripheral SIM Access GAP Peripheral Role Profile Profile Bond Manager GATT L2CAP Link Layer Physical Layer Figure 3: Bluetooth Smart Protocol Stack Page 9 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
ACR1255U-J1 uses a rechargeable Lithium-ion battery, which has a capacity of 320 mAh. 4.1.1. Battery charging Once the battery of ACR1255U-J1 runs out, it may be charged in any of the following modes: OFF, USB, Bluetooth; as long as it is connected to a power outlet. 4.1.2.
The carrier frequency of ACR1255U-J1 is 13.56 MHz 4.4.2. Card Polling ACR1255U-J1 automatically polls the contactless cards that are within the field. ISO 14443-4 Type A, ISO 14443 Type B, FeliCa, Topaz, MIFARE, and NFC tags are supported. 4.5. User Interface 4.5.1.
MODEL_KEY ANT_KEY UPDATE_KEY Figure 4: Keys on ACR1255U-J1 4.5.2. Mode Selection Switch ACR1255U-J1 has three modes: USB, Off and Bluetooth. User can select one mode at a time as a data transmission interface. Symbol Switch Active Mode PC-linked No power...
4.5.3. Status LED ACR1255U-J1 has two bi-color LEDs to show the various operation statuses, where: • Blue - Bluetooth Status LED1 • Red - Battery Status LED2 • Green – USB Figure 5: LED Operation Status Mode Color LED Activity...
Slow flash Low battery Battery is charging 4.5.4. Buzzer ACR1255U-J1 has a buzzer that is used to notify user of card polling, Bluetooth connection, sleep mode, and low-battery status. Buzzer Activity Event One short beep Card has been detected or removed...
The program flow of the Bluetooth connection is shown below: Bluetooth Start (Reset/Power up) Successful Connection? Enable Service Authentication Successful Authentication? Smart Card Operation with Security Channel Disconnect? Reset Power Off Figure 6: Bluetooth Connection Flow Page 15 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
5.2. Profile Selection ACR1255U-J1 is a smart card reader that is designed to use Bluetooth technology as an interface to transmit data. A customized service called Commands Communication with three pipes is used: one pipe is used for command request, the second pipe is for command response/card notification, and third is RFU.
RND_A[0:15] and are originally generated by ACR1255U-J1. ACR1255U-J1 will first compare if RND_A[0:15] is the same as the original version. If it is the same, then the data processing server is authenticated by ACR1255U-J1. ACR1255U-J1 will then encrypt RND_B[0:15] obtained using the Customer Master Key and the feedback to the data processing server through the bridging device using the answer to the authentication response message.
6. The final output data from the encryption process will be transferred to ACR1255U-J1 through the authentication response message. 7. In ACR1255U-J1, an encryption process will be performed on the received data to recover the 32 bytes of random number. ACR1255U-J1 will check the result RND_A[0:15] to see if they are the same as the original ones.
Unidirectional authentication should be used to establish the binding between ACR1255U-J1 and the paired device. ACR1255U-J1 acts as a peripheral wherein it waits until the device to be paired with establishes a connection. The device to be paired with will need to send a PIN to complete the authentication process.
Example: 62010063 => Checksum = 63h 5.6. Bluetooth Communication Protocol ACR1255U-J1 communicates to the paired device using the Bluetooth interface with a predefined protocol. The protocol is similar to the formats of the CCID Command Pipe and Response Pipe. Command...
Offset Field Size Value Description CmdMessageType Length 0000h Data length Slot Sequence Param Parameter Check means the XOR values of all Check bytes in the command Data Data Page 22 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
00h = Card present and active Param 01h = Card present but inactive 02h = Card absent Check means the XOR values of all Check bytes in the command Data Data Page 23 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Response Data Format Offset Field Size Value Description CmdMessageType Length Data length Slot Sequence Param Parameter Check means the XOR values of all Check bytes in the command Data Data Page 24 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Data length Slot Sequence Status: Param 02h = Card present 03h = Card absent Check means the XOR values of all Check bytes in the command Data Data Page 25 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
03h = Command error 04h = Unauthorized 05h = Undefined error 06h = Receive data error Check means the XOR values of all Check bytes in the command Data Data Page 26 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
2. Close automatic polling Request command: E0 00 00 40 00 Response command: E1 00 00 00 00 Note: To use a new PIN, the device should rebooted. Page 27 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Table 8: Summary of Mutual Authentication Commands The 16-byte Session Key, SK[0:15,] is generated in both ACR1255U-J1 and the data processing server. It is obtained by padding the first 8 bytes of RND_B at the end of the first 8 bytes of RND_A, i.e.
5.7.3. RDR_to_SPH_AuthRsp1 This command is sent by ACR1255U-J1 in response to the SPH_to_RDR_ReqAuth. Offset Field Size Value Description Encrypted bMessageType Number of extra bytes in abRndNum field, and is LEN1 LEN2 0015h expressed in two bytes (wLength) long, and LEN1 is MSB while LEN2 is LSB;...
Customer Master Key and pads it to the end of the 16-byte of random numbers. The overall 32-byte random numbers will be decrypted using the Customer Master Key and returned to ACR1255U-J1 using this command in order to have a successful authentication.
5.7.5. RDR_to_SPH_AuthRsp2 This command is sent by ACR1255U-J1 in response to the SPH_to_RDR_AuthRsp. Offset Field Size Value Description Encrypted bMessageType Number of extra bytes in abRndNum field, LEN1 LEN2 and is expressed in 0015h (wLength) two bytes long, and LEN1 is MSB while LEN2 is LSB;...
5.7.6. RDR_to_SPH_ACK (Error handling) This is an error handling acknowledgement message sent by the ACR1255U-J1 to the paired device to recognize the acceptance of some command messages. During the communication, any indicated error message will be transmitted using the RDR_to_SPH_ACK. The command is not encrypted.
APDU for Contactless) are using this API for sending. 6.1.6. ScardDisconnect The SCardDisconnect function terminates a connection previously opened between the calling application and a smart card in the target reader. Refer to: http://msdn.microsoft.com/en-us/library/windows/desktop/aa379475%28v=vs.85%29.aspx Page 34 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
= 03h (ISO 14443A, Part 3) Card Name (C0 .. C1) = [00 01h] (MIFARE Classic 1K) Standard (SS) = 03h: ISO 14443A, Part 3 = 11h: FeliCa Page 37 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Page 38
ATS if available. ISO 14443A-3 or ISO 14443B-3/4 PICCs do have ATS returned. APDU Command = FF CA 01 00 00h APDU Response = 06 75 77 81 02 80 90 00h ATS = {06 75 77 81 02 80h} Page 38 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Page 39
1C 2D 94 11 F7 71 85 00 BEh} Application Data of ATQB = 1C 2D 94 11h Protocol Information of ATQB = F7 71 85h MBLI of ATTRIB = Page 39 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
To get the serial number of the “connected PICC”: UINT8 GET_UID[5] = {FF, CA, 00, 00, 00}; To get the ATS of the “connected ISO 14443 A PICC”: UINT8 GET_ATS[5] = {FF, CA, 01, 00, 00}; Page 40 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Two volatile keys are provided. The volatile key can be used as a session key for different sessions. Load Authentication Keys Response Format (2 bytes) Response Data Out Result Page 42 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Value Block Operation Response Format (2 bytes) Response Data Out Result Value Block Operation Response Codes Results Meaning Success The operation is completed successfully. Error The operation is failed. Page 47 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Example 2: Decimal 1 = {00h, 00h, 00h, 01h} Value Read Value Block Response Codes Results Meaning Success The operation is completed successfully. Error The operation is failed. Page 48 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
// Copy the value from value block to value block APDU = FF D7 // Increment the value block by “5” APDU = FF D7 00 00 00 05h Page 49 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
6.5. Accessing PC/SC-compliant tags (ISO 14443-4) All ISO 14443-4 compliant cards (PICCs) understand the ISO 7816-4 APDUs. ACR1255U-J1 just has to communicate with the ISO 14443-4 compliant cards through exchanging ISO 7816-4 APDUs and responses. ACR1255U-J1 will handle the ISO 14443 Parts 1-4 Protocols internally.
Page 51
INS = B2h P1 = 80h P2 = 00h Lc = None Data In = None Le = 08h Answer: 00 01 02 03 04 05 06 07h [$9000h] Page 51 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Size of abData field of this message Identifies the slot number for this bSlot command bSeq Sequence number for command abRFU Reserved for Future Use abData Byte array Data block sent to the CCID Page 52 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Bit 1 1 = ON; 0 = OFF Bit 2 BLUE 1 = ON; 0 = OFF Bit 3 1 = ON; 0 = OFF Bit 4 - 7 Page 55 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Bit 1 1 = ON; 0 = OFF Bit 2 GREEN 1 = ON; 0 = OFF Bit 3 1 = ON; 0 = OFF Bit 4 - 7 Page 56 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Buzzer On Duration 1 byte 00h = Turn OFF 01 to FFh = Duration (unit: 10 ms) Buzzer Control Response Format (6 bytes) Response Class Data Out Result Page 57 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Note: Default value of behavior = 8Fh. Set LED and Buzzer Status Indicator Behavior Response Format (6 bytes) Response Class Data Out Result Default Behaviors Page 58 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Bit 4 – 6 To light up the LED whenever the card Bit 7 Card Operation Blinking LED is being accessed Note: Default value of Behavior = 8Fh. Page 59 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
<1 – 0> = 1000 ms <1 – 1> = 2500 ms Bit 6 Bit 7 Enforce ISO14443A Part 4 1= Enable; 0= Disable Note: Default value of Polling Setting = 8Fh. Page 60 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Page 61
4. The JCOP30 card comes with two modes: ISO 14443A-3 (MIFARE Classic 1K) and ISO 14443A-4 modes. The application has to decide which mode should be selected once the PICC is activated. Page 61 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
<1 – 0> = 1000 ms <1 – 1> = 2500 ms Bit 6 Bit 7 Enforce ISO14443A Part 4 1= Enable; 0= Disable Note: Default value of Polling Setting = 8Fh. Page 62 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
1 = Detect The Tag Types to be detected during Bit 4 Topaz PICC Polling. 0 = Skip Bit 5 - 7 Note: Default value of Operation Parameter = 17h. Page 63 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Felica 0 = Skip Bit 3 1 = Detect The Tag Type to be detected during Bit 4 Topaz PICC Polling. 0 = Skip Bit 5 - 7 Page 64 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
PICC. The PICC will become inaccessible if the PICC or the environment does not meet the requirement of the proposed communication speed. 2. The reader supports different speed between sending and receiving. Page 65 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
1 byte. 01h = Enable Antenna Field 00h = Disable Antenna Field Note: Make sure the Auto PICC Polling is disabled first before turning off the antenna field. Page 67 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
01h = MIFARE Ultralight emulation RegValue 1 byte. Value writer to PN512’s GsNoff Register Set the Card Emulation Response Format (11 bytes) Response Class Data Out Result CardType Value Page 69 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Set Sleep Time Interval Response Format (6 bytes) Response Class Data Out Result Time Where: Time 1 byte 00h = 60 seconds 01h = 90 seconds 02h = 120 seconds 03h = 180 seconds Page 70 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Response Class Data Out Result Tx Power Where: Tx Power 1 byte 00h = -23 dBm 01h = -6 dBm 02h = 0 dBm 03h = 4 dBm Page 71 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Response Class Data Out Result Tx Power Where: Tx Power 1 byte 00h = -23 dBm 01h = -6 dBm 02h = 0 dBm 03h = 4 dBm Page 72 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.01...
Page 73
The Bluetooth® word, mark and logos are registered trademarks owned by Bluetooth SIG, Inc. and any use of such marks by Advanced Card Systems Ltd. is under license. Other trademarks and trade names are those of their respective owners. Page 73 of 73 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk...
Need help?
Do you have a question about the ACR1255U-J1 and is the answer not in the manual?
Questions and answers