1.0. Introduction ACR1255U-J1 Secure 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 Switch LEDs Bluetooth Mobile device or Computer Bluetooth Module Antenna Computer Rechargeable Battery Figure 1: ACR1255U-J1 Architecture Page 9 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
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 PC/SC NFC Interface USB Interface (CCID) PC/SC Layer T=CL and T=1 Emulation ISO 14443/ISO 18092 Interface Physical Interface...
Bluetooth 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 Protocol Stack Page 11 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
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.
4.3.2. Endpoints ACR1255U-J1 uses the following endpoints to communicate with the host computer: Control Endpoint For setup and control purpose For command to be sent from host to ACR1255U-J1 Bulk OUT (data packet size is 64 bytes) For response to be sent from ACR1255U-J1 to host...
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.
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 Bluetooth Bluetooth 4.5.3. Status LED ACR1255U-J1 has two bi-color LEDs to show the various operation statuses, where: •...
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 17 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
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: the first pipe is used for command request, the second pipe is for command response/card notification, and the third pipe is for RFU.
5.3. Authentication Before any sensitive data can be loaded into ACR1255U-J1, the data processing server must be authenticated by ACR1255U-J1 for the privilege to modify the secured data inside reader. In ACR1255U-J1, a mutual authentication method is being used. For better illustration, please refer to figure below (the picture below has omitted the bridging device...
62 00 00 00 01 00 63 => 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.
Length Slot Sequence Param Parameter Checksum means the XOR values of Checksum all bytes in the command Data Data Response Data Format Offset Field Size Value Description RspMessageType Page 22 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Checksum means the XOR values of Checksum all bytes in the command Data Data Response Data Format Offset Field Size Value Description RspMessageType 00 00h Data length Length Slot Sequence Page 23 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
10h – empty Data field, continuation of response APDU is expected in the next Response. Checksum means the XOR values of Checksum all bytes in the command Page 24 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Page 25
Response = 80 00 00 00 XX checksum 3. Command = 6F 00 58 00 XX checksum ( 88 bytes data ) Response = 80 00 02 00 XX checksum 90 00 Page 25 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
The summary of the commands used in mutual authentication is in the following table: Sequence Command Mode Supported Sender Description Connected Paired device SPH_to_RDR_ReqAuth Connected Reader RDR_to_SPH_AuthRsp1 Connected Paired device SPH_to_RDR_AuthRsp Connected Reader RDR_to_SPH_AuthRsp2 Table 8: Summary of Mutual Authentication Commands Page 28 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
5.7.2. SPH_to_RDR_ReqAuth This command will request ACR1255U-J1 to perform authentication with the paired key-generating device. For more information on the authentication process, please refer to Authentication. Offset Field Size Value Description Encrypted bMessageType The Number of extra bytes in Data field, and is...
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 00 15h expressed in two bytes (wLength) long, and LEN1 is MSB...
Customer Master Key and pads it to the end of the 16-byte 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.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.
MIFARE Classic® (1K/4K) memory cards) are using this API for sending. 6.1.6. ScardDisconnect This 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 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
= 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 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Page 38
Note: Use the APDU “FF CA 01 00 00h” to distinguish the ISO 14443A-4 and ISO 14443B-4 PICCs, and retrieve the full ATS if available. ISO 14443A-3 or ISO 14443B-3/4 PICCs do have ATS returned. Page 38 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk...
Wrong length (wrong number Le: ‘XX’ Error encodes the exact number) if Le is less than the available UID length Error The operation is failed Error Function not supported Page 39 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Every command returns SW1 and SW2 together with the response data field (if available). The SW1 SW2 is based on ISO 7816. SW1 SW2 from the C0 data object below should also be used. C0 data element Format Length (1 byte) Error Status Page 40 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Through this command, you can also manage the operation environment and the capabilities of the IFD within the transparent session. Manage Session Command Command Data In DataObject Manage Session DataLen (N bytes) Page 41 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Page 42
End Session Data Object This command ends the transparent session. The auto-polling will be reset to the state before the session has started. End Session Data Object Length (1 byte) Value Page 42 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Page 43
Timer (4 bytes) 6.4.2.7. Get Parameter Data Object This command gets the different parameters from the IFD. Get Parameter Data Object Value Length (1 byte) Value FF 6Dh TLV_Objects Page 43 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Page 44
Max. Communication Speed supported by the IFD Communication Speed of the ICC Modulation Index PCB for ISO/IEC14443 CID for ISO/IEC14443 NAD for ISO/IEC14443 Param 1 – 4 for for ISO/IEC14443 type B Page 44 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Transparent Exchange Response Data Object Data Object Generic Error status Number of valid bits in the last byte of received data Response Status ICC response FF 6Dh IFD parameter data object Page 45 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Page 46
For the command APDU, this data object defines the number of expected valid bits of the last byte of data received. For the response APDU, this data object mentions the number of valid bits in the last byte of received data. Page 46 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Page 47
Set Parameter FWTI Data Object. If no FWTI is set, the reader will wait for about 302 µs. Transceive Data Object Length (1 byte) Value DataLen Data (N Bytes) Page 47 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Switch Protocol Command Command Data In DataObject SwProtocol DataLen (N bytes) Where: Data Object (1 byte) Data Object Switch Protocol Data Object FF 6Dh Get Parameter FF 6Eh Set Parameter Page 48 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
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 53 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Read Binary APDU Format (5 bytes) Command Block Number of Bytes to Read Binary Blocks Number Read Where: Block Number 1 byte. The starting block. Page 55 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Update Binary APDU Format (Multiple of 16 + 5 bytes) Command Data In Number Block Data Update Binary Block of bytes Blocks Number (Multiple of 16 bytes) to update Page 56 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
{MSB .. LSB} Where: Block Number 1 byte. The value block to be manipulated. VB_OP 1 byte 00h = Store the VB_Value into the block. The block will then be Page 57 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
This command retrieves the value from the value block. This command is only valid for value block. Read Value Block APDU Format (5 bytes) Command Read Value Block Block Number Where: Block Number 1 byte. The value block to be accessed. Page 58 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
1 byte. The value of the source value block will be copied to the target value block. Target Block Number 1 byte. The value block to be restored. The source and target value blocks must be in the same sector. Page 59 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
00 00 00 05h 6.6. 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 61
INS = B2h P1 = 80h P2 = 00h Lc = None Data In = None Le = 08h Answer: 00 01 02 03 04 05 06 07h [$9000h] Page 61 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
01 01 06 01 CB 09 57 03h RES = Memory Block Data 6.8. Peripherals Control These are the reader’s peripherals control commands. For PC-Linked Mode: Implemented through PC_to_RDR_Escape Page 62 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Get Firmware Version Format (5 bytes) Command Get Firmware Version Get Firmware Version Response Format (5 bytes + Firmware Message Length) Response Data Out Result Number of bytes to receive Firmware Version Page 63 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Buzzer Control Format (6 bytes) Command Data In Buzzer Control Buzzer On Duration Where: Buzzer On Duration 1 byte 00h = Turn OFF 01 to FFh = Duration (unit: 10 ms) Page 65 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Card Operation Blinking LED is being accessed Note: Default value of behavior = 8Fh. Set LED and Buzzer Status Indicator Behavior Response Format (6 bytes) Response Data Out Result Default Behavior Page 66 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
PC/SC Escape command interface. To meet the energy saving requirement, special modes are provided for turning off the antenna field whenever the PICC is inactive, or no PICC is found. The reader will consume less current in power saving mode. Page 67 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Page 68
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 68 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Set PICC Operating Parameter This command sets the PICC operating parameter. Set the PICC Operating Parameter Format (6 bytes) Command Data In Set the PICC Operating Operation Parameter Parameter Page 69 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Read the PICC Operating Parameter Format (5 bytes) Command Read the PICC Operating Parameter Read the PICC Operating Parameter Response Format (6 bytes) Response Data Out Result Operation Parameter Page 70 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
This command turns on/off the antenna field. Antenna Field Control Format (6 bytes) Command Data In Antenna Field Status Control Antenna Field Control Response Format (6 bytes) Response Data Out Result Status Page 72 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
This command sets the time interval before entering sleep mode. Set Sleep Time Interval Format (5 bytes) Command Set Sleep Time Interval Time Set Sleep Time Interval Response Format (6 bytes) Response Data Out Result Time Page 73 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
This command checks the Bluetooth transmission power. Read Tx Power Value Format (5 bytes) Command Read Tx power Read Tx Power Value Response Format (6 bytes) Response Data Out Result Tx Power Page 74 of 77 ACR1255U-J1 – Reference Manual info@acs.com.hk www.acs.com.hk Version V1.07...
Microsoft is a registered trademark of Microsoft Corporation in the United States and/or other countries. MIFARE, MIFARE Classic, and MIFARE DESFire are registered trademarks of NXP B.V. and are used under license. Page 77 of 77 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