background image

 

Page 

66

 of 

70 

Copyright © Access-IS 2016

 

D.  ASCII character reference 

DEC 

HEX 

Symbol 

Description 

00 

NUL 

Null char 

01 

SOH 

Start of heading 

02 

STX 

Start of text 

03 

ETX 

End of text 

04 

EOT 

End of transmission 

05 

ENQ 

Enquiry 

06 

ACK 

Acknowledgment 

07 

BEL 

Bell 

08 

BS 

Back space 

09 

HT 

Horizontal tab 

10 

0A 

LF 

Line feed 

11 

0B 

VT 

Vertical tab 

12 

0C 

FF 

Form feed 

13 

0D 

CR 

Carriage return 

14 

0E 

SO 

Shift out / X-on 

15 

0F 

SI 

Shift in / X-off 

16 

10 

DLE 

Data line escape 

17 

11 

DC1 

Device control 1 (oft. XON) 

18 

12 

DC2 

Device control 2 

19 

13 

DC3 

Device control 3 (oft. XOFF) 

20 

14 

DC4 

Device Control 4 

21 

15 

NAK 

Negative acknowledgement 

22 

16 

SYN 

Synchronous idle 

23 

17 

ETB 

End of transmit block 

24 

18 

CAN 

Cancel 

25 

19 

EM 

End of medium 

26 

1A 

SUB 

Substitute 

27 

1B 

ESC 

Escape 

28 

1C 

FS 

File separator 

29 

1D 

GS 

Group separator 

30 

1E 

RS 

Record separator 

31 

1F 

US 

Unit separator 

32 

20 

SPACE 

Space 

33 

21 

Exclamation mark 

34 

22 

Double quotes (or speech marks) 

35 

23 

Number 

36 

24 

Dollar 

37 

25 

Percent sign 

Summary of Contents for ATR110

Page 1: ...upport access is com Product names mentioned herein are for identification purposes only and may be trademarks and or registered trademarks of their respective companies Copyright 2016 ALL RIGHTS RESERVED Subject ATR110 Manual Revision 1 0 Issue Date 15 03 2016 ATR110 1D 2D Barcode Imager Barcode and NFC Version Product Manual ...

Page 2: ...vision reception which can be determined by turning the equipment on and off the user is encouraged to correct the interference with one or more of the following measures a Reorient or relocate the receiving antenna b Increase the separation between the equipment and the receiver c Connect the equipment to an outlet on a circuit different from that to which the receiver is connected d Consult the ...

Page 3: ...nt commands 29 5 6 Triggering 31 5 7 Counter 32 6 NFC operation 33 6 1 Summary of operation 33 6 2 MIFARE cards 35 6 3 Contactless microprocessor smartcards 35 7 MIFARE media commands and responses 36 7 1 MIFARE get media type 36 7 2 MIFARE load key 37 7 3 MIFARE authenticate block key A or key B 38 7 4 MIFARE read block key A or key B 38 7 5 MIFARE write block key A or key B 40 7 6 MIFARE create ...

Page 4: ... NFC module serial number matching 60 B HID reports barcode only 61 B 1 Receive data 61 B 2 Send commands 62 B 3 Trigger controls 63 C NFC module example code and API functions 64 C 1 Initialise smartcard sub system 64 C 2 Poll for card arrival 64 C 3 Connect to the card 64 C 4 Get ATR of the card 65 C 5 Communicate with card 65 C 6 Determine if ATR indicates MIFARE type 65 C 7 Disconnect the card...

Page 5: ...rds This responsive intuitive to use device is simple to operate by untrained members of the public Additional user friendly features include bright LED visual indicators and a programmable audio buzzer to confirm successful data capture Its rugged vibration and shock resistant construction with no moving parts enables the reader to withstand years of frontline public use Fast intuitive imager wit...

Page 6: ...tion setting can be adjusted by customer Power requirements 5 V DC Requires USB power injector cable or independent power supply Electrical interface 5 V USB only Barcode reading Reads barcodes from mobile phones tablets and paper Linear EAN UPC Code 2 of 5 Interleaved 2 of 5 IATA 2 of 5 Code 39 Code 128 2D IATA resolution 792 PDF417 Aztec DataMatrix and QR codes NFC EMV Designed to Level 1 Suppor...

Page 7: ...led USB connected ATR110 AKEGEOTA911 USB power injector cable 5KBD133402 Pole mount 1 25 inches 31 75 mm pole diameter AKEGEOXB081 Pole mount 1 5 inches 38 1 mm pole diameter AKEGEOXB091 An external power supply is available if required Please contact the Access IS sales team sales access is com ...

Page 8: ...nection to a USB port Figure 2 Connection to a USB port 3 3 Mounting The ATR110 is simple to install Mounting options include desktop console kiosk or pole mount Refer to Figure 3 for the dimensions of the unit Figure 4 shows the mounting points For optimum performance do not position the ATR110 in direct sunlight NFC INSTALLATION WARNING To optimise the performance DO NOT install the ATR110 so th...

Page 9: ...Figure 3 ATR110 dimensions rounded to the nearest millimetre 3 3 1 Mounting points Figure 4 ATR110 mounting points Use four M3 screws not provided to mount the unit Maximum insertion depth is 4 mm minimum recommended insertion depth is 2 mm ...

Page 10: ...at the locating studs on the metal U brackets engage in the two smaller holes in the pole Position the other metal U bracket against the back of the pole and screw the metal brackets together using the four M4 screws removed earlier 7 Replace the plastic cover and screw into place using the two M3 screws To attach the mounting kit to the ATR110 Follow these steps to attach the mounting kit to the ...

Page 11: ...rface using the Access driver Windows only The Access Serial Ports Service ASPS driver is fully configurable and outputs data in virtual serial or virtual keyboard The output itself can be parsed and reformatted The serial port is permanent and does not disappear if you unplug or hot swap the unit This is one way communication and the only command that you can send to the device is AIS_BO to enabl...

Page 12: ...he recommended method for using a USB ATR110 is to configure the device to operate in HID mode This allows the device to communicate with the Access driver For this method to operate you must first install the Access driver ASPS Download ASPS from http www access is com gettingstarted The download ASPS Software includes full instructions for use Ensure that you install the driver before connecting...

Page 13: ...on tool which you can download from http www access is com gettingstarted Refer to the Barcode command reference on page 21 for details of the barcode commands which you can use to configure the ATR110 3 10 Communicate with the NFC module Once the NFC module is enumerated it registers itself with the Windows Smartcard Resource Manager Since the NFC module is Personal Computer Smart Card PC SC comp...

Page 14: ... cable connections between the ATR110 and host are secure Ensure that the unit has power ATR110 cannot scan barcode Ensure that the unit is configured to read the barcode that you are scanning If scanning a paper document ensure that the print quality is good If scanning a barcode on a mobile phone ensure that you set the screen backlight on the phone to its brightest setting 3 12 Maintenance 3 12...

Page 15: ...ich activates the Good Read Bad Read indicators on the device The ATR110 waits for up to two seconds for an Accept Reject Ignore command to activate the indicators The host sends an Ignore command to reset the imager if no response from the indicators is required The imager and illumination do not reset until the sensor fails to detect any media for 0 5 seconds 4 1 3 Interactive mode Note This is ...

Page 16: ...ghts Good Read as Settings Instruct Reader Idle Imager and Illumination Deactivated Reader Idle Figure 9 Dumb mode process flow 4 2 1 Dumb mode example Comments ATR Command to Host Host Command to ATR Media placed in front of ATR110 Imager activated and barcode scanned Illumination activated as defined in the settings Data sent as configured No media detected for 0 5 seconds ATR110 resets ...

Page 17: ...etected Imager and Illumination Activated Barcode Read Data Sent to Host Imager and Illumination Deactivated Accept or Reject Lights Bad Read as Settings Instruct Lights Good Read as Settings Instruct Reject Accept Reader Idle Reader Idle Ignore Command or No Response within Timeout Figure 10 Host mode process flow ...

Page 18: ...ommand to Host Host Command to ATR Media placed in front of ATR110 Imager activated and barcode scanned Illumination activated as defined in the settings Data sent as configured Host decides to accept or reject the data Bad Read AISXXR1 Lights activated as defined in the Bad Read settings No media detected for 0 5 seconds ATR110 resets 4 3 1 3 Ignore Comments ATR Command to Host Host Command to AT...

Page 19: ...me Media Detected Message Sent Requesting Trigger Send Trigger Imager and Illumination Activated Trigger Barcode Read Data Sent to Host Accept or Reject Lights Bad Read as Settings Instruct Lights Good Read as Settings Instruct Imager and Illumination Deactivated Reject Accept Reader Idle Untrigger Force Trigger Reader Idle Force Untrigger Ignore Command Figure 11 Interactive mode process flow ...

Page 20: ...ct the data Good Read AISXXR0 Lights activated as defined in the Good Read settings No media detected for 0 5 seconds ATR110 resets 4 4 1 2 Good Read initiated by host sending trigger command Comments ATR Command to Host Host Command to ATR Host sends a command to trigger the imager This could be due to a second sensor 0x16 0x74 0x0D Imager activated it remains triggered until untriggered or a Goo...

Page 21: ...Send the six character command with a instead of the parameter and the ATR110 will return the command with the stored setting For example 0x16 0x4D 0x0D AISINF returns the current illumination mode To list parameter options Send the six character command with a instead of the parameter and the ATR110 will return the command with the parameter options 5 1 Basic configuration These commands set the ...

Page 22: ...n one prefix or suffix to the device they will stack in chronological order You must send a clear command if you want to use a single prefix or suffix Table 3 Prefix and suffix commands Command Description Default Parameters Range PREBK299xx Adds a prefix to all barcode symbologies Any two character hex ASCII code can replace xx For example to add STX Start of Text as a prefix use the command PREB...

Page 23: ... 8 0 200 AISOFT Illumination off time Applies to AISILL modes 2 and 3 only adaptive illumination on Each unit is equivalent to 100 milliseconds 8 0 200 AISONM Illumination on mode When set to 0 the timing for the illumination on period is set to a single value AISONT When set to 1 the illumination on period cycles continuously while triggered through the three AISONx values 0 0 Normal adaptive ope...

Page 24: ...aptive illumination modes The illumination modes allow you to configure the device to provide the best lighting to read barcodes on different types of media 0 Off Phone only Adaptive illumination is off The illumination LEDs do not light when you present media to the device 1 Off Paper only Adaptive illumination is off The illumination LEDs light when you present media to the device The LEDs illum...

Page 25: ...uivalent to 100 milliseconds 8 0 200 AISBDS Bad Read duration start Specifies when the Bad Read indicator illuminates 0 0 At Bad Read 1 At media removal AISBIN Bad Read indication stop Specifies when the Bad Read indicator extinguishes 1 0 At media removal 1 Continues after media removal 5 4 2 LED control method options Use the AISLCM command to select the LED control method There are four methods...

Page 26: ...or amber and off flashing alternate flashing or constant In Dumb mode the Good Read LED flashes on a successful read overriding any other LED setting Disable this functionality by setting the Good Read indicator duration AISGDT to zero 0 In Host and Interactive modes use AISXXR0 AISXXR1 and AISXXR2 commands to update the status of the ATR110 these commands do not affect the LEDs Use the AISLCD com...

Page 27: ...s 2 8 4 1 0 No lights 1 LED A 2 LED B 4 LED C 8 LED D For more than one LED add the values For example for Good Read on LEDs A and D use AISGSL9 Note Power and Busy LEDs are only applicable to LED control mode 1 AISGCO AISBCO AISUCO AISPCO Configures the LED colours for Good Read Bad Read Busy and Power indicators 2 1 3 4 0 Off 1 Red 2 Green 3 Amber 4 Blue AISGBA AISBBA AISUBA AISPBA Configures th...

Page 28: ...shes alternately with the other LEDs The second character sets the colour Second character LED colour 0 LED off even if set to flash 1 Red 5 Green 9 Amber D Blue LED control direct parameter format example Command AISLCD4141414155555555 This would cause the front LEDs to flash red and the rear LEDs to flash green The front and rear banks would flash alternately 5 4 5 Summary of valid commands Tabl...

Page 29: ...n Each unit is equivalent to 100 milliseconds 4 0 100 AISBBN Bad Beep number of beeps 3 0 5 AISBBS Bad Beep silence duration 2 0 100 milliseconds AISBBV Bad Beep volume 3 0 Off 1 Low 2 Medium 3 High 5 5 Development commands 5 5 1 Firmware and imager levels The firmware levels identify the release and build of a unit Send the command AISFWV to obtain this information For example SB 01 00 00 is a fi...

Page 30: ...AIS_BO Enables or disables barcode reading This command is stored in volatile memory so will return to the default on power cycle 1 0 Off 1 On AISDLE Include DLEs Data Link Escape 0 0 Off 1 On AISNRD Sets a No Read message sent at defined intervals 0 0 Off 1 60000 milliseconds 232CRD CTS is raised when a Good Read output is received 0 0 Off 1 On 232CTS Hardware handshaking requires the CTS to be h...

Page 31: ...wer on 2 Loader 3 Power on and loader 4 Power on except when triggered 16 Brownout detection Diagnostic 32 Brownout reset Diagnostic 48 Brownout status Detection or reset Diagnostic 64 Intelli sensor reset Diagnostic 128 Watchdog reset Diagnostic 5 6 Triggering These commands control triggering and untriggering of the ATR110 Table 11 Triggering commands Command Description Default Parameters Range...

Page 32: ...0 AISTRE Enable document detect trigger Warning This is for advanced users only and modification may cause the device to become inoperable 1 0 Disabled 1 Enabled 5 6 1 Interactive mode The commands to trigger the ATR110 for Interactive mode do not follow the same format as described in Table 11 For Interactive mode trigger commands are sent as 0x16 0x74 0x0D and 0x16 0x75 0x0D instead of the 0x16 ...

Page 33: ...eader reads writes blocks from to a microprocessor or MIFARE card When NFC media connects to the ATR110 s NFC reader the device retrieves an Answer To Reset ATR from the card The ATR specifies certain communication parameters including the card s nature and state If the ATR identifies a microprocessor card the host application sends and retrieves Application Protocol Data Unit APDU commands and re...

Page 34: ...Page 34 of 70 Copyright Access IS 2016 Figure 13 NFC module contactless media process flow ...

Page 35: ...0 00 03 06 03 00 05 00 00 00 00 6E Note that the value of the 15th byte indicates the type of MIFARE media The application software can look for these specific ATR bytes to detect MIFARE type media Once it detects a MIFARE type medium the application can then use the MIFARE commands to communicate with it Refer to MIFARE media commands and responses on page 36 for details of the MIFARE media comma...

Page 36: ...s depending on whether the command includes authentication bit 6 For example RF select and no authentication binary 10000000 hex 0x80 RF select with authentication binary 11000000 hex 0xC0 Authentication may or may not apply depending on the command 7 1 MIFARE get media type Use this command to return the MIFARE media type 7 1 1 MIFARE command bytes MIFARE command bytes Command header Command code...

Page 37: ... formats as the block number is not required 7 2 1 MIFARE command bytes MIFARE command bytes Command header Command code MIFARE key 0x00 0x02 or 0x42 Load key 6 bytes of MIFARE key 0x82 or 0xC2 RF select and load key No authentication performed 7 2 2 MIFARE response bytes MIFARE response bytes Response header Response code Status bytes 0x00 Any one of the following values Command code 1 0x03 or 0x...

Page 38: ...y B 0x84 or 0xC4 RF select and authenticate block Key A 0x94 or 0xD4 RF select and authenticate block Key B 7 3 2 MIFARE response bytes MIFARE response bytes Response header Response code Block number Status bytes 0x00 Any one of the following values Command code 1 0x05 or 0x45 0x15 or 0x55 0x85 or 0xC5 0x95 or 0xD5 Block number 0x90 0x00 Success 0x69 Status Code Failure Refer to page 48 for infor...

Page 39: ... bytes Response header Response code Block number Block data 1 Status bytes 0x00 Any one of the following values Command code 1 0x07 or 0x17 0x47 or 0x57 0x87 or 0xC7 0x97 or 0xD7 Block number 16 bytes 0x90 0x00 Success 0x69 Status Code Failure 1 This field is present only if the command is successful Refer to page 48 for information on MIFARE failure status codes 7 4 3 Example This command succes...

Page 40: ...08 Write block Key A Block number 16 bytes 0x18 Write block Key B 0x48 Authenticate and write block Key A 0x58 Authenticate and write block Key B 0x88 or 0xC8 RF select authenticate and write block Key A 0x98 or 0xD8 RF select authenticate and write block Key B 7 5 2 MIFARE response bytes MIFARE response bytes Response header Response code Block number Status bytes 0x00 Any one of the following va...

Page 41: ...ight cards and fails if executed on Ultralight cards Ultralight cards do not support value blocks 7 6 1 MIFARE command bytes MIFARE command bytes Command header Command code Block number Initial value 0x00 0x0A Create value block Key A Block number 32 bit initial value Most Significant Bit MSB first 0x1A Create value block Key B 0x4A Authenticate and create value block Key A 0x5A Authenticate and ...

Page 42: ...y B command on page 41 Note This command is NOT applicable to MIFARE Ultralight cards and fails if executed on Ultralight cards Ultralight cards do not support value blocks 7 7 1 MIFARE command bytes MIFARE command bytes Command header Command code Block number Initial value 0x00 0x0C Increment value block Key A Block number 32 bit increment value MSB first 0x1C Increment value block Key B 0x4C Au...

Page 43: ...ey B command on page 41 Note This command is NOT applicable to MIFARE Ultralight cards and fails if executed on Ultralight cards Ultralight cards do not support value blocks 7 8 1 MIFARE command bytes MIFARE command bytes Command header Command code Block number Initial value 0x00 0x0E Decrement value block Key A Block number 32 bit decrement value MSB first 0x1E Decrement value block Key B 0x4E A...

Page 44: ...IFARE Ultralight command bytes Command header Command code Block number 0x00 0x20 MIFARE Ultralight read block Block number 7 9 2 MIFARE Ultralight response bytes MIFARE Ultralight response bytes Response header Response code Block number Block data 1 Status bytes 0x00 0x21 Block number 16 bytes 4 consecutive block data are retrieved 0x90 0x00 Success 0x69 Status Code Failure 1 This field is prese...

Page 45: ...ytes 0x00 0x23 Block number 0x90 0x00 Success 0x69 Status Code Failure Refer to page 48 for information on MIFARE failure status codes 7 10 3 Example This command successfully writes one block block number 4 with 4 bytes of data There is no authentication feature on Ultralight cards Command 0x00 0x22 0x04 0x01 0x02 0x03 0x04 Response 0x00 0x23 0x04 0x90 0x00 7 11 MIFARE Ultralight C authenticate p...

Page 46: ...sful Authenticate part 1 command before the Command Wait Time expires If you want to preserve the authentication for a longer period without changing the Command Wait Time send the MIFARE get media type command on page 36 periodically to keep the session active 7 11 3 Example This command performs authentication part 1 on an Ultralight C card Command 0x00 0x24 Response 0x00 0x25 0x00 0xAF 0x19 0xA...

Page 47: ... successful Authenticate part 1 command before the Command Wait Time expires If you want to preserve the authentication for a longer period without changing the Command Wait Time send the MIFARE get media type command on page 36 periodically to keep the session active 7 12 3 Example This command performs authentication part 2 on an Ultralight C card Command 0x00 0x26 0x00 0x6C 0x29 0x02 0x40 0x6B ...

Page 48: ...his command reads block 0 on an Ultralight C card Command 0x00 0x28 0x00 0x30 0x00 Response 0x00 0x29 0x00 0x04 0xC7 0x64 0x2F 0x00 0x00 0x00 0x00 0x00 0x48 0x00 0x00 0x00 0x00 0x00 0x00 0x90 0x00 This command fails with an error MIFARE direct transceive failed Command 0x00 0x28 0x00 0x30 0x00 Response 0x00 0x29 0x00 0x69 0x8D 7 14 MIFARE failure status codes The following table gives the status c...

Page 49: ...0x88 Increment value block failed 0x89 Decrement value block failed 0x8A Transfer value block failed this is an internal command failure 0x8B MIFARE Ultralight C Authentication Part 1 failed 0x8C MIFARE Ultralight C Authentication Part 2 failed 0x8D MIFARE direct transceive failed ...

Page 50: ... commands but the recommendation is that you should initialise unused bytes to 0x00 The example commands and responses omit trailing zeroes Note If there is a response to the command the command is successful If the command times out it has failed 8 1 Get firmware version Use this command to retrieve the firmware version on the NFC module 8 1 1 Management command bytes Byte Command Value Comments ...

Page 51: ...s command retrieves the bootloader version 0106 Command 0x01 Response 0x01 0x01 0x06 8 3 Switch to bootloader Use this command to switch to the bootloader to load new firmware The module resets itself in bootloader mode soon after the sending the response Warning Only use this command when loading new firmware Using this command at any other time may cause the device to become inoperable 8 3 1 Man...

Page 52: ...module 12345678901234567890 Command 0x03 Response 0x03 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x30 8 5 Set NFC timings Use this command to set various operating timings for the NFC reader This is an 11 byte command starting for the command byte Warning Access IS optimise the NFC timings for the ATR110 and these values should not need to be ch...

Page 53: ...dia MSB Default 0 milliseconds 0x00 10 Command waiting time for MIFARE media LSB Default 250 milliseconds 0xFA 8 5 2 Management response bytes Byte Response Value Comments 0 0x06 Command echoed 1 0x90 or 0x69 0x90 Success 0x69 Failure 2 0x00 3 63 Ignored 61 unused bytes 8 5 3 Example This command sets the RF reset time for media polling LSB to 200 milliseconds Command 0x06 0x00 0x00 0x00 0xC8 0x00...

Page 54: ...media Default 5 milliseconds 0x05 9 Command waiting time for MIFARE media MSB Default 0 milliseconds 0x00 10 Command waiting time for MIFARE media LSB Default 250 milliseconds 0xFA 8 6 3 Example This command retrieves the NFC timings from the device Command 0x06 0x00 0x80 Response 0x06 0x00 0x80 0x00 0x64 0x14 0x00 0x05 0x05 0x00 0xFA 8 7 Enter sleep mode Use this command to enter sleep mode and s...

Page 55: ...gement response bytes Byte Response Value Comments 0 0x09 Command echoed 1 0x90 or 0x69 0x90 Success 0x69 Failure 2 0x00 3 63 0x00 Ignored 61 bytes 8 8 3 Example This command exits sleep mode Command 0x09 Response 0x09 0x90 0x00 8 9 ATR110 LED control command Use this command to control the LEDs in the ATR110 On the ATR110 LED bank 1 is the front LED bank LED bank 2 is the rear LED bank in desktop...

Page 56: ...ings associated with the LED LED setting Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Common 0 or 1 Blink 0 or 1 Not used 0 Not used 0 00 Red 01 Green 10 Amber 11 Blue Invert 0 or 1 LED state 0 or 1 To calculate the LED setting convert the binary value from the 8 bits to hexadecimal For example binary 10001101 hex 0x8D Common Valid for bank 1 only sets the bank 1 value to the bank 2 LED Blink B...

Page 57: ... Binary 01001101 Hex 0x4D LED 2 Binary 01000011 Hex 0x43 Command 0x0A 0x4D 0x00 0x43 Response 0x0A 0x90 0x00 8 10 Get NFC kernel version Use this command to retrieve the NFC kernel version of the NFC module 8 10 1 Management command bytes Byte Command Value Comments 0 0x0B Command byte 1 63 0x00 Unused bytes set to 0x00 8 10 2 Management response bytes Byte Response Value Comments 0 0x0B Command e...

Page 58: ...Response Value Comments 0 0x0D Command echoed 1 Media type value See Table 17 on page 58 2 Number of valid bytes to follow Specifies the number of bytes in the serial number 3 xx Media serial number Most significant bit first xx 63 Ignored unused bytes 8 11 3 Example This command retrieves the serial number from the media The detected media type is MIFARE Ultralight Command 0x0D Response 0x0D 0x05...

Page 59: ...Page 59 of 70 Copyright Access IS 2016 Media type Type value Current support MIFARE Plus 0x06 Yes Felica media 0x07 No ISO15693 0x08 No NFC Type 1 Tag 0x09 No NFC DEP media 0x0A No ...

Page 60: ...nction connect to smart card reader lReturn SCardConnect hSC LPCWSTR pCardReaderName SCARD_SHARE_DIRECT NULL hCardHandle NULL if SCARD_S_SUCCESS lReturn Console WriteLine Failed SCardConnect n exit 1 Or other appropriate action get reader serial no LPBYTE pbAttr NULL DWORD cByte SCARD_AUTOALLOCATE lReturn SCardGetAttrib hCardHandle SCARD_ATTR_VENDOR_IFD_SERIAL_NO LPBYTE pbAttr cByte if SCARD_S_SUC...

Page 61: ...bology identifier 62 Reserved 63 Data cont d B 1 1 Example HID input reports as sent by the device In this example the decoded barcode contained 60 bytes of data which the device split into two HID reports Note that byte 63 in 0x01 in the first report and 0x00 in the second report indicates whether to expect more data or not In the second packet the remaining 52 bytes of data are set to 0x00 Bit B...

Page 62: ...0x73 s 62 0x00 63 0 0 0 0 0 0 0 0 B 2 Send commands To send commands to the ATR110 use a HID out report with the following structure Bit Byte 7 6 5 4 3 2 1 0 0 Report ID 253 1 Data length 2 Output data up to 62 bytes 63 B 2 1 Example output report to request firmware version Bit Byte 7 6 5 4 3 2 1 0 0 253 1 0x0B 2 0x16 0x4D 0x0D AISFWV1 63 ...

Page 63: ...report with the following structure Bit Byte 7 6 5 4 3 2 1 0 0 Report ID 4 1 Flash Good Read light Green Flash Bad Read light Red Initiate barcode read trigger Prevent barcode read untrigger Note You can only use trigger and untrigger commands in Interactive mode Good Read and Bad Read indicator controls are only available in Host or Interactive modes ...

Page 64: ...e system Hence it is recommended to list all the readers and select the one that is required RcvLength 128 memset Reader_Tracker_Buffer 0 sizeof Reader_Tracker_Buffer while SCardListReaders hRFIDContext NULL LPSTR _Buffer RcvLength SCARD_S_SUCCESS Sleep 1000 Wait for some time and retry C 2 Poll for card arrival if SCardGetStatusChange hRFIDContext INFINITE RdrState 1 SCARD_S_SUCCESS if RdrState 0...

Page 65: ...ble to get ATR of card else MessageBox ATR successful C 5 Communicate with card RcvLength RX_BUFFER_SIZE if SCardTransmit hCrd SendPci TX_Buffer Transmit_Length NULL RX_Buffer RcvLength SCARD_S_SUCCESS MessageBox Communication failed else MessageBox Communication successful C 6 Determine if ATR indicates MIFARE type Refer to MIFARE cards on page 35 C 7 Disconnect the card SCardDisconnect hCrd SCAR...

Page 66: ...n 14 0E SO Shift out X on 15 0F SI Shift in X off 16 10 DLE Data line escape 17 11 DC1 Device control 1 oft XON 18 12 DC2 Device control 2 19 13 DC3 Device control 3 oft XOFF 20 14 DC4 Device Control 4 21 15 NAK Negative acknowledgement 22 16 SYN Synchronous idle 23 17 ETB End of transmit block 24 18 CAN Cancel 25 19 EM End of medium 26 1A SUB Substitute 27 1B ESC Escape 28 1C FS File separator 29...

Page 67: ...2 Two 51 33 3 Three 52 34 4 Four 53 35 5 Five 54 36 6 Six 55 37 7 Seven 56 38 8 Eight 57 39 9 Nine 58 3A Colon 59 3B Semicolon 60 3C Less than or open angled bracket 61 3D Equals 62 3E Greater than or close angled bracket 63 3F Question mark 64 40 At symbol 65 41 A Uppercase A 66 42 B Uppercase B 67 43 C Uppercase C 68 44 D Uppercase D 69 45 E Uppercase E 70 46 F Uppercase F 71 47 G Uppercase G 72...

Page 68: ...racket 92 5C Backslash 93 5D Closing bracket 94 5E Caret circumflex 95 5F _ Underscore 96 60 Grave accent 97 61 a Lowercase a 98 62 b Lowercase b 99 63 c Lowercase c 100 64 d Lowercase d 101 65 e Lowercase e 102 66 f Lowercase f 103 67 g Lowercase g 104 68 h Lowercase h 105 69 i Lowercase i 106 6A j Lowercase j 107 6B k Lowercase k 108 6C l Lowercase l 109 6D m Lowercase m 110 6E n Lowercase n 111...

Page 69: ...IS 2016 DEC HEX Symbol Description 118 76 v Lowercase v 119 77 w Lowercase w 120 78 x Lowercase x 121 79 y Lowercase y 122 7A z Lowercase z 123 7B Opening brace 124 7C Vertical bar 125 7D Closing brace 126 7E Tilde 127 7F DEL Delete ...

Page 70: ...Page 70 of 70 Copyright Access IS 2016 E Document history Issue Date Description 1 0 15 03 2016 First release ...

Reviews: