Transmitting Control Commands ................20 4.2.8. Disconnecting from BLE Card Terminal ..............20 5.0. Command Set ......................21 5.1. API between Tablet and AMR220-C1 ................21 5.1.1. BT Communication Frame format ................ 21 5.1.2. Data Field Format – Command ................22 5.1.3.
Page 4
Table 1 : Symbols and Abbreviations ..................... 6 Table 2 : Estimated Battery Lifespan ..................... 9 Table 3 : BT Commands From Smart Device to AMR220-C1 ............24 Table 4 : BT Responses From AMR220-C1 to Smart Device ............30 Page 4 of 69 AMR220-C1 –...
1.0. Introduction AMR220-C1 Secure Bluetooth® mPOS Reader communicates with smart devices via Bluetooth® technology. With its compliance to ISO 7816 and ISO 14443, it supports both contact and c ontactless smart cards. Moreover, it further extends card support and strengthens the mobile reader product line’s salability in t he payment industry, with the additional compliance to EMV®...
● Supports iOS 8.0 and later ● Compliant with the following standards: EN 60950/IEC 60950 Applicable under PC-linked mode Uses an ACS-defined Android Library Uses an ACS-defined iOS Library Page 7 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 8
ISO 7816 ISO 14443 ISO 18092 ® Levels 1 and 2 Mastercard ® Contactless Visa payWave ® Bluetooth ® PC/SC CCID RoHS 2 REACH TELEC (Japan) Microsoft ® WHQL Page 8 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
AMR220-C1 uses a rechargeable Lithium-ion battery, which has the capacity of 450 mAh. 3.1.1.1. Battery Charging The battery of AMR220-C1 may be charged by connecting it to a power outlet. 3.1.1.2. Battery Life The battery life is dependent on t he us age of the device. Below is an estimate of the battery life...
Slow Blinking (0.5 sec - ON, 1.5 sec - OFF) Pairing Bluetooth is Inactive LED Status BT LED ON BT LED Off EMV Contactless LEDs Behaviors Note: For more information, refer to EMV Contactless Specification: https://www.emvco.com/wp- content/uploads/2017/05/Book_A_Architecture_and_General_Rqmts_v2_6_Final_20160422011856105.pdf. Page 10 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 11
3.1.2.3. Device Reset Pinhole To reset the device: • To reset the device, locate the pinhole beside the Bluetooth button, then press the reset button using a pin. Page 11 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
By using an MS -CCID driver, only a single slot device may be supported, and only the P ICC int erface may be used. In order to use both interfaces, the ACS driver is needed. AMR220-C1 USB int erface follows CCID protocol with two defined slots; one for ICC interface and one for PICC interface.
Contactless Interface) are using this API for sending. 4.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 13 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
4.2. Bluetooth Library This section describes the ACS B T library for developer use. For more details, please refer to the Library package documents. 4.2.1. Setting Up BLE If BLE is supported on the device, enable Bluetoot h in order to connect card terminals. To enable Bluetooth, get the instance of BluetoothAdapter from BluetoothManager.
Disconnecting from BLE Card Terminal The library connects BLE card terminal automatically when calling connect() from the CardTerminal object. terminat e Bluetoot h connection manually, call disconnect() from BluetoothTerminalManager object. mManager.disconnect(terminal); Page 20 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
5.1. API between Tablet and AMR220-C1 Note: This section is only for the developers who will not use t he ACS BT Library for t he development of their own application. If you are using the ACS BT Library, please ignore this Section.
ICC/SAM card Note: SPH_to_RDR_IccPowerOn must be completed first. SPH_to_RDR_ExEscape Asks AMR220-C1 to exchange Escape 0xC0 Command to control/configure peripherals Table 3: BT Commands From Smart Device to AMR220-C1 Page 24 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Page 25
5.1.4.1.1. SPH_to_RDR_PcdPowerOn This command asks AMR220-C1 to poll PCD tag within the period defined. Offset Field Size Value Description 0x80 Command Header Counter Command Counter Command Payload 0x0006 Length of the Command Payload Length Byte 1 – Card Type Bit 0 = 0 – Disable Type A Polling 1 –...
Page 26
Payload Command Payload XOR for the above field The response to this message is RDR_to_SPH_PcdPowerOffRsp 5.1.4.1.3. SPH_to_RDR_PcdExAPDU This command asks AMR220-C1 to exchange APDU with the activated PCD tag. Note: SPH_to_RDR_PcdPowerOn must be completed first. Offset Field Size Value Description...
Page 27
ICC Slot select Command Payload 0x01 = ICC Slot XOR for the above field The response to this message is RDR_to_SPH_IccPowerOnRsp 5.1.4.1.5. SPH_to_RDR_IccPowerOff This command asks AMR220-C1 to power off the activated ICC/SAM card. Offset Field Size Value Description 0xA1...
Page 28
5.1.4.1.6. SPH_to_RDR_IccExAPDU This command asks AMR220-C1 to exchange APDU with the activated ICC/SAM card. Note: SPH_to_RDR_IccPowerOn must be completed first. Offset Field Size Value Description 0xA2 Command Header Counter Command Counter Command Payload Length of the Command Payload Length Byte 1 - ICC Slot select...
Page 29
5.1.4.1.8. SPH_to_RDR_ExEscape This command asks AMR220-C1 to exchange Escape command to control/configure the peripherals. Offset Field Size Value Description 0xC0 Command Header Counter Command Counter Command Payload Length of the Command Payload Length Command Payload Escape command XOR for the above field...
RDR_to_SPH_IccExAPDURsp Response for SPH_to_RDR_IccExAPDU 0xB2 RDR_to_SPH_IccSetParamet erRsp Response for SPH_to_RDR_IccSetParameter 0xB3 RDR_to_SPH_ExEscapeRsp Response for SPH_to_RDR_ExEscape 0xD0 Table 4: BT Responses From AMR220-C1 to Smart Device 5.1.4.2.1. RDR_to_SPH_PcdPowerOnRsp This command is a response to SPH_to_RDR_PcdPowerOn. Offset Field Size Value Description 0x90...
Field Size Value Description 0xD0 Response Header Counter Response Counter Response Payload Length of the Response Payload Length Response Payload Escape Command Response XOR for the above field Page 34 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Note: Use the AP DU “0xFF 0xCA 0x01 0x00 0x00” to distinguish the ISO14443A-4 and ISO14443B -4 PICCs, and retrieve the full ATS if available. ISO14443A-3 and ISO14443B -3/4 PICCs do have ATS returned. Page 36 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
‘XX’ encodes the exact number) if Le is less than the available UID length. Error 0x63 0x00 The operation failed. Error 0x6A 0x81 The function is not supported Page 37 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Data object XX warning, requested information not available XX 0x63 0x00 No information XX 0x63 0x01 Execution stopped due to failure in other data object XX 0x6A 0x81 Data object XX not supported Page 38 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Version data Object 0x81 Start Transparent Session 0x82 End Transparent Session 0x83 Turn Off RF Field 0x84 Turn On RF Field 0x5F46 Timer 0xFF6D Get Parameter 0xFF6E Set Parameter Page 39 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Minor Build 5.2.2.2.2.4. Turn Off the RF Data Object This command turns off the antenna field. Turn off the RF field Data Object Length (1btye) Value 0x83 0x00 Page 40 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
0x04 0x00 Communication Speed of the ICC 0x05 0x00 Modulation Index 0x06 0x00 PCB for ISO/IEC14443 0x07 0x00 CID for ISO/IEC14443 0x08 0x00 NAD for ISO/IEC14443 0x09 0x00 Page 41 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Transparent Exchange Commands are used to transmit and receive any bit or bytes from ICC. Transparent Exchange Command Command Class Data In DataObject TranspEx 0xFF 0xC2 0x00 0x01 DataLen (N bytes) Page 42 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
0 – insert parity in the transmit data 1 – do not insert parity 0 – expect parity in received date 1 – do not expect parity (i.e. no parity checking) Page 43 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Number of valid bits of the last byte (0 means all bits are valid) 0x92 0x01 If this data object is absent, it means all bits are valid. Page 44 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Data Object 0x8F Switch Protocol Data Object 0xFF6D Get Parameter 0xFF6E Set Parameter Switch Protocol Response Data Object Data Object 0xC0 Generic Error status 0xFF6D IFD parameter data object Page 46 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
The “Load Authentication Keys” command loads the authentication keys into the reader. The authentication keys are used to authenticate the particular sector of the Mifare 1K/4K Memory Card. Only volatile key location is available for AMR220-C1. Load Authentication Keys APDU Format (11 Bytes)
0x00 ~ 0x01 = Volatile memory for storing keys. The keys disappear when the reader is disconnected from the PC. Two volatile keys are provided. The volatile key can be used as a session key for different sessions. Page 51 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
The value returned from the card. The value is a signed long integer (4 bytes). E.g. 1: Decimal “–4” = {0xFF, 0xFF, 0xFF, 0xFC} Value 0xFF 0xFF 0xFF 0xFC Page 57 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Copy Value Block Response Format (2 bytes) Response Data Out Result Copy Value Block Response Codes Results Meaning Success 0x90 0x00 The operation is completed successfully. Error 0x63 0x00 The operation failed. Page 58 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
Basically, all ISO14443-4 complaint cards (PICCs) understands the ISO 7816-4 APDUs. The AMR220-C1 just has to communicate with the ISO 14443-4 complaint cards through exchanging ISO 7816-4 APDUs and responses. AMR220-C1 will handle the ISO 14443 Parts 1-4 Protocols internally.
Response Data Out Result Response Data Response Codes Results Meaning Success 0x90 0x00 The operation is completed successfully. Error 0x67 0x00 Length error 0x64 0x01 The operation failed. Page 60 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
SPH_to_RDR_ExEscape PCS C SCardControl with dwControlCode = SCARD_CTL_CODE(3500). 5.3.1. Get Firmware Version The “Get Firmware Version” command is used to get the AMR220-C1’s firmware message Get Firmware Version Format (5 Bytes) Command Class Get Firmware 0xE0 0x00 0x00...
5.3.2. Shut Down Time Configure The “Shut Down Time Configure” command is used to get/set the Shut Down time for AMR220-C1 To set Shut Down Time Configure Command Format (6 Bytes) Command Class Data In Shut Down 0xE0 0x00 0x00...
The “Aut omatic PICC Polling Parameter” command is used to set the reader’s polling mode when USB used for communication Whenever the AMR220-C1 is connected to the PC, the PICC polling function will start the PICC scanning to determine if a PICC is placed on / removed from the built-antenna.
4. The JCOP 30 card comes with t wo modes: ISO14443A -3 (MIFA RE 1K) and ISO14443A -4 modes. The application has to decide which mode should be selected once the PICC is activated. Page 65 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
The “PICC Polling Det ect Card Type” command is used to set the Automatic Polling’s Detect Card Type. Notes: 1. The Auto Polling feature is for USB mode ONLY. 2. The setting will be set to default once AMR220-C1 is reset. To set PICC Polling Detect Card Type Command Format (6 Bytes) Command Class...
0x00 = Turn OFF 0x01 to 0xFF = Turn ON Duration (unit: 10ms) Buzzer off Duration (1 Byte): 0x00 = Turn ON 0x01 to 0xFF = Turn OFF Duration (unit: 10ms) Page 67 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
1 = ON; 0 = OFF Bit 2 Green 3 LED 1 = ON; 0 = OFF Bit 3 Green 4 LED 1 = ON; 0 = OFF Bit 4 ... 7 Page 68 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk Version 1.02...
MIFARE, MIFARE Classic, MIFARE DESFire, MIFARE Ultralight and MIFARE Plus are registered trademarks of NXP B.V. and are used under license. Visa payWave is a registered trademark of Visa International Service Association. Page 69 of 69 AMR220-C1 – Reference Manual info@acs.com.hk www.acs.com.hk...
Need help?
Do you have a question about the AMR220-C1 and is the answer not in the manual?
Questions and answers