background image

Page 

14

 of 

77 

Copyright © Access-IS 2020

 

3.13 Troubleshooting 

If the LSR118 does not appear to be working, refer to Table 1 to help identify and resolve the 
problem. For further assistance, contact 

[email protected]

.  

Alternatively, use the 

Contact Customer Support Team

 page on the Access-IS website. 

Note: Do not attempt to disassemble the LSR118 if it does not operate correctly. 

Table 1. Troubleshoot the LSR118 

Problem 

Solution 

LSR118 not transmitting data to host  Check that all cable connections between the LSR118 and 

host are secure. 
Ensure that the unit has power. 

LSR118 cannot scan barcode 

Ensure that the unit is configured to read the barcode that 
you are scanning.  
If scanning a 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.14 Maintenance 

3.14.1 Cleaning 

Clean the glass with a lint-free cloth. If the glass is dirty, wipe the glass with a lint-free cloth 
moistened with isopropyl alcohol or use an alcohol wipe. Do not use abrasive cleaners. 

3.14.2 Storage 

Store the unit in its original box, at a temperature of -30°C to 70°C. 

Summary of Contents for LSR118

Page 1: ... support 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 2020 ALL RIGHTS RESERVED Subject LSR118 Manual Revision 1 2 Issue Date 12 08 2020 LSR118 1D 2D IP67 Barcode Imager and NFC Reader Product Manual ...

Page 2: ... or television 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 Cons...

Page 3: ... 13 3 11 Barcode configuration software 13 3 12 Communicate with the NFC module 13 3 13 Troubleshooting 14 3 14 Maintenance 14 4 Barcode operating modes 15 4 1 Mode summary 15 4 2 Dumb mode 16 4 3 Host mode 17 4 4 Interactive mode 19 5 Barcode command reference 21 5 1 Basic configuration 22 5 2 Prefix and suffix solutions 23 5 3 LSR118 illumination 24 5 4 Indicator control 26 5 5 Development comma...

Page 4: ... 7 14 MIFARE failure status codes 55 8 NFC management interface commands 56 8 1 Get firmware version 56 8 2 Get bootloader version 57 8 3 Switch to bootloader 58 8 4 Get serial number 58 8 5 Set NFC timings 59 8 6 Get NFC timings 60 8 7 Enter sleep mode 61 8 8 Exit sleep mode 62 8 9 Get NFC kernel version 63 8 10 Get media serial number 63 8 11 Disable media arrival and removal notifications 65 8 ...

Page 5: ...Page 5 of 77 Copyright Access IS 2020 C 7 Disconnect the card 72 D ASCII character reference 73 E Document history 77 ...

Page 6: ...d of presentation in any orientation The LSR118 also supports mobile ticketing and mobile wallet payment systems for NFC enabled smartphones and tablets as well as reading contactless smart credit and debit cards Omnidirectional reading present the barcode at any angle Reads barcodes and NFC cards labels and devices from a single point of presentation Red and green indicators to show good and bad ...

Page 7: ... interface Serial RS232C and 5 V USB Barcode reading Reads barcodes from mobile phones tablets and paper Linear Code 2 of 5 Interleaved 2 of 5 EAN13 Code 3 of 9 Code 128 plus others 2D PDF417 QR Aztec DataMatrix plus others NFC EMV Certified to Level 1 Supported media ISO14443 type A and B cards Java cards max baud 424K extendable to 848K MIFARE UL Classic 1K Classic 4K UL C MIFARE Plus max baud 1...

Page 8: ...t Number Serial connected LSR118 AKEGEOSA941 USB power injector cable 5KBD133402 USB connected LSR118 AKEGEOSA902 Serial cable 5KBD387302 USB cable 5KBD386301 An external power supply is available if required Please contact the Access IS sales team sales access is com ...

Page 9: ...depending on the product version Note The cable is sealed into the unit to prevent entry of water moisture and dust Cable length is 2 m for serial and USB versions 3 2 1 Connection to RS232 Figure 2 Connection to RS232 3 2 2 Connection to a USB port Figure 3 Connection to USB Serial and power cables connected to LSR118 device USB power injector cable to a powered USB port on host PC or connection ...

Page 10: ...FC performance deteriorating or even failing completely Figure 4 LSR118 dimensions and mounting points Use three M3 screws not provided to mount the unit Maximum insertion depth is 6 mm minimum recommended insertion depth is 2 mm 3 4 Barcode interface options 3 4 1 Serial connection Connect a serial LSR118 device using an RS232 interface directly into a COM port You must specify the baud rate pari...

Page 11: ...es 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 enable or disable barcode reading Refer to page 27 for more information HID interface without the Access driver This method is only suitable is you are familiar with HID programming It is possible to communicate directly with the LSR118 using the opera...

Page 12: ...dows CDC drivers For this method to operate you must install the CDC drivers using the file AccessISUSBCDC inf which you can download from http www access is com gettingstarted The download USB Driver for CDC Mode includes full instructions for use Windows assigns a virtual COM port to the LSR118 device You can find out the COM port number in Device Manager You will require the port number to conf...

Page 13: ...ld illuminate If the device fails to respond when connected to the host refer to the Troubleshooting section in this document 3 11 Barcode configuration software Connect to and configure the LSR118 using your own configuration tool a terminal emulation program or the Access IS configuration tool which you can download from http www access is com gettingstarted Refer to the Barcode command referenc...

Page 14: ...all cable connections between the LSR118 and host are secure Ensure that the unit has power LSR118 cannot scan barcode Ensure that the unit is configured to read the barcode that you are scanning If scanning a 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 14 Maintenance 3 14 1 ...

Page 15: ...the device The LSR118 waits for up to two seconds for an Accept Reject Ignore command to activate 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 LSR118 sensor fails to detect any media for 0 5 seconds The Ignore command requires version 1 0 21 or later of the firmware 4 1 3 Interactiv...

Page 16: ...ood Read as Settings Instruct Reader Idle Imager and Illumination Deactivated Reader Idle Figure 6 Dumb mode process flow 4 2 1 Dumb mode example Comments LSR Command to Host Host Command to LSR Media placed in front of LSR118 Imager activated and barcode scanned Illumination activated as defined in the settings Data sent as configured USB Serial No media detected for 0 5 seconds LSR118 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 7 Host mode process flow ...

Page 18: ...d to Host Host Command to LSR Media placed in front of LSR118 Imager activated and barcode scanned Illumination activated as defined in the settings Data sent as configured USB Serial 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 LSR118 resets 4 3 1 3 Ignore Comments LSR Command to Host Host Command...

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 8 Interactive mode process flow ...

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

Page 21: ...s when the device is operating as a USB keyboard To query the current settings including a temporary one Send the six character command with a instead of the parameter and the LSR118 will return the command with the current setting Note the must be followed with For example 0x16 0x4D 0x0D AISINF queries the device interface and returns the current value To query the stored value Send the six chara...

Page 22: ... bps 6 19200 bps 7 38400 bps 8 57600 bps 9 115200 bps AISSCP Sets the connection parameters for a Serial connection Only used when AISINF is set to 0 Serial 2 0 7N1 1 7N2 2 8N1 3 7E1 4 7E2 5 8E1 6 7O1 7 7O2 8 8O1 AISKBL Keyboard localization this defines the Windows keyboard mapping for correct output of characters Only used when AISINF is set to 2 USB keyboard 0 0 US United States 1 UK United Kin...

Page 23: ...d 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 PREBK29902 You can add more than one prefix as required xx Hex value PRECA2 Clears all prefixes SUFBK299xx A...

Page 24: ...llumination 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 operation uses AISONT timing 1 Cycles through AISON1 to AISON3 timings AISON1 Illumination on time 1 Applies to AISILL modes 2 and 3 only adaptive illumination on ...

Page 25: ... only Adaptive illumination is off The illumination LEDs do not light when you present media to the device 5 3 1 2 1 Off Paper only Adaptive illumination is off The illumination LEDs light when you present media to the device The LEDs illuminate until the device reads the barcode or you remove the media 5 3 1 3 2 On Paper optimised Adaptive illumination is on The illumination LEDs switch On and Of...

Page 26: ...od Read indication stop Specifies when the Good Read indicator extinguishes 1 0 At media removal 1 Continues after media removal AISBDT Bad Read LED indicator duration Each unit is equivalent 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 indi...

Page 27: ...ractive mode AISOMD2 If this flag is set then the TRIG messages from the LSR118 are sent only on media detect and media removed regardless of commands from the host 0 0 Disabled 1 Enabled AISRDS Changes the configuration back to its default values Warning This command resets all parameters to their default values including any values specific to your stored configuration 1 AISFWV Returns the versi...

Page 28: ...sor reset is 48 64 112 Table 7 Status LED commands Command Description Default Parameters Range AISLS1 Status LED function 4 0 None 1 Power 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 AISLS2 Status LED...

Page 29: ...ill wait before reading a new barcode 2000 1000 30000 milliseconds SNSSMO Sensor maximum on time Set to 0 to disable this feature Each unit is equivalent to 100 milliseconds 600 60 seconds If the infrared sensor detects media for more than the timeout for example because there is a sticker on the glass it is disabled allowing the imager to work in presentation mode 600 0 60000 5 6 1 Interactive mo...

Page 30: ...5 7 Counter These commands display the number of Good or Bad reads made by the device Table 10 Counter commands Command Description Default Parameters Range AISGRC Good Read counter Cannot be reset 0 AISBRC Bad Read counter Cannot be reset 0 ...

Page 31: ...rites blocks from to a microprocessor or MIFARE card When NFC media connects to the LSR118 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 Application Protocol Data Unit APDU commands to the card using the Windows Sma...

Page 32: ...Page 32 of 77 Copyright Access IS 2020 Figure 9 NFC module contactless media process flow ...

Page 33: ...eld called bSlot This field specifies the slot ID of the reader with which the application wishes to communicate The slot ID value uniquely identifies the reader within NFC module to which the CCID packet is sent and identifies the reader which is sending the response back to the application Table 12 shows the Slot ID values and their mapping to the readers Table 12 Slot ID and reader mappings Slo...

Page 34: ...th then the module waits for the next 64 byte chunk to arrive Note When a CCID packet transmission starts the first 64 byte chunk includes the CCID header which indicates the slot ID where the data is being sent to or received from Each command message sent to a particular reader receives an appropriate response from the NFC module The serial host does not send another command message to a reader ...

Page 35: ...ata exchange To exchanged data with the media the serial host constructs the data with a CCID header The CCID header should have a valid slot ID where the data is received Table 15 summarises the supported CCID exchanges Table 15 Supported CCID exchanges Message name Command bMessageType Response message Response bMessageType PC_to_RDR_IccPowerOn 0x62 RDR_to_PC_DataBlock 0x80 PC_to_RDR_IccPowerOff...

Page 36: ... be conveyed back in bStatus and bError fields and ATR may not be present in abData field Field Offset Size in bytes Value Description bMessageType 0 1 0x80 dwLength 1 4 Size of abData field Contains the ATR if present bSlot 5 1 Source Reader slot ID Please refer to Communication parameters on page 33 bSeq 6 1 Same as command message bStatus 7 1 0 bError 8 1 0 bChainParameter 9 1 0 abData 10 Size ...

Page 37: ...FE respectively The field dwLength is also set to 0 and no abData field is present 6 4 MIFARE cards When the reader detects NFC media the application gets the ATR of the media Since there is no ATR present for MIFARE media the NFC module constructs an ATR from the fixed elements that identify the card The ATR for MIFARE media is 20 bytes long It has fixed values with the exception of the 15th byte...

Page 38: ...SmartMX cards and most e Passports These media have an Answer to Reset ATR which the NFC module retrieves The host application can send Application Protocol Data Unit APDU commands to these media using the Windows Smartcard API Note The format of the command and response APDUs depend on the type of media Refer to the media s user manual for the command and response formats ...

Page 39: ...eration 1 Authentication after RF selection if enabled but before the command operation Command function code 0 No RF selection 0 No authentication Some commands will automatically perform authentication if you enable RF selection When you enable RF selection the reader resets each time it polls When you disable RF selection the reader polls using the Universally Unique Identifier UUID that it had...

Page 40: ...d successfully retrieves the MIFARE media type MIFARE Classic 4K and the UID of the card USB Command 0x00 0x00 Response 0x00 0x01 0x04 0x02 0x0A 0xA8 0x9C 0x90 0x00 Serial Command 0x6f 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Response 0x80 0x09 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x01 0x04 0x02 0x0A 0xA8 0x9C 0x90 0x00 7 2 MIFARE load key Use this command to load the MIFARE ...

Page 41: ...thenticate block key A or key B Use this command to authenticate the specified MIFARE block against the MIFARE media s internal Key A or B You must load the MIFARE key using MIFARE load key on page 40 before sending this command The MIFARE authenticate block command is largely used for test purposes The other MIFARE commands use this command internally to check that the key is loaded and responds ...

Page 42: ...0x00 0x04 0x00 Response 0x80 0x05 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x05 0x00 0x90 0x00 7 4 MIFARE read block key A or key B Use this command to authenticate the specified MIFARE block against the MIFARE media s internal Key A or B and then read the contents of the block You must load the MIFARE key using MIFARE load key on page 40 before sending this command Note This command is NOT ap...

Page 43: ...ey authenticated against Key A in the media USB Command 0x00 0x46 0x00 Response 0x00 0x47 0x00 0x02 0x0A 0xA8 0x9C 0x3C 0x98 0x02 0x00 0x64 0x5D 0x04 0x11 0x5D 0x50 0x44 0x01 0x90 0x00 Serial Command 0x6F 0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x46 0x00 Response 0x80 0x15 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x47 0x00 0x02 0x0A 0xA8 0x9C 0x3C 0x98 0x02 0x00 0x64 0x5D 0x04 0x11 0...

Page 44: ...ytes 0x00 Any one of the following values Command code 1 0x09 or 0x19 Block number 0x90 0x00 Success 0x69 Status Code Failure Refer to page 55 for information on MIFARE failure status codes 7 5 3 Example This command successfully writes 16 bytes to block number 2 using the loaded key authenticated against Key A in the media USB Command 0x00 0x48 0x02 0x01 0x02 0x03 0x04 0x05 0x06h 0x07 0x08 0x09 0...

Page 45: ...ARE Ultralight 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 MSB first 0x1A Create value block Key B 0x4A Authenticate and create value block Key A 0x5A Authenticate and create valu...

Page 46: ...alue block You must load the MIFARE key using MIFARE load key on page 40 before sending this command The specified block number must also be a value block or the command will fail To create a value block use the MIFARE create value block key A or key B command on page 44 Note This command is NOT applicable to MIFARE Ultralight cards and fails if executed on Ultralight cards Ultralight cards do not...

Page 47: ... 0x80 0x05 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x4D 0x04 0x90 0x00 7 8 MIFARE decrement value block key A or key B Use this command to authenticate the specified MIFARE block against the MIFARE media s internal Key A or B and then decrement the value block You must load the MIFARE key using MIFARE load key on page 40 before sending this command The specified block number must also be a va...

Page 48: ...Command code 1 0x0F or 0x1F 0x4F or 0x5F 0x8F or 0xCF 0x9F or 0xDF Block number 0x90 0x00 Success 0x69 Status Code Failure Refer to page 55 for information on MIFARE failure status codes 7 8 3 Example This command successfully decrements the previously created value field at block number 4 by 0x00000001 The command uses the loaded key and authenticates against Key A in the media USB Command 0x00 0...

Page 49: ...ytes 0x00 0x21 Block number 16 bytes 4 consecutive block data are retrieved 0x90 0x00 Success 0x69 Status Code Failure 1 This field is present only if the command is successful Refer to page 55 for information on MIFARE failure status codes 7 9 3 Example This command successfully reads four blocks block numbers 4 5 6 and 7 from the Ultralight MIFARE card There is no authentication feature on Ultra...

Page 50: ...light response bytes MIFARE Ultralight response bytes Response header Response code Block number Status bytes 0x00 0x23 Block number 0x90 0x00 Success 0x69 Status Code Failure Refer to page 55 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 USB Command...

Page 51: ...nformation on MIFARE failure status codes Note Once the NFC module receives a command it waits for 250 milliseconds for another command to arrive If no command arrives it resets the MIFARE card This interval the Command Wait Time is configurable using the Set NFC timings command on page 59 The NFC reader resets the MIFARE card after the Command Wait Time has expired and any authentication done bef...

Page 52: ...t 2 Use this command to perform the second part of the MIFARE Ultralight C authentication Note This command is applicable ONLY to MIFARE Ultralight C cards and fails if executed on other types of MIFARE cards 7 12 1 MIFARE Ultralight C command bytes MIFARE Ultralight C command bytes Command header Command code Block number Cryptogram bytes 0x00 0x26 MIFARE Ultralight C Authenticate part 2 Ignored ...

Page 53: ...uthentication part 2 on an Ultralight C card USB Command 0x00 0x26 0x00 0x6C 0x29 0x02 0x40 0x6B 0x7C 0x74 0x02 0x5A 0xCE 0x65 0x93 0xD8 0x4E 0x36 0xA1 Response 0x00 0x27 0x00 0x00 0x21 0x65 0x40 0x23 0xCF 0xD5 0x46 0xEB 0x90 0x00 Serial Command 0x6F 0x13 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x26 0x00 0x6C 0x29 0x02 0x40 0x6B 0x7C 0x74 0x02 0x5A 0xCE 0x65 0x93 0xD8 0x4E 0x36 0xA1 Response ...

Page 54: ...eader Response code Block number Response bytes 1 Status bytes 0x00 0x29 Same as command Response bytes from the MIFARE media 0x90 0x00 Success 0x69 Status Code Failure 1 This field is present only if command is successful Refer to page 55 for information on MIFARE failure status codes 7 13 3 Example This command reads block 0 on an Ultralight C card USB Command 0x00 0x28 0x00 0x30 0x00 Response 0...

Page 55: ...s for MIFARE command failures MIFARE failure code Failure description 0x80 Missing parameters 0x81 Invalid command header command header is not 0x00 0x82 Invalid command 0x83 Authentication failed 0x84 Read block failed 0x85 Write block failed 0x86 Restore value block failed this is an internal command failure 0x87 Create value block failed 0x88 Increment value block failed 0x89 Decrement value bl...

Page 56: ...Management Interface on slot 0xFF The management commands are always less than 64 bytes long while the responses are always 64 bytes long Even though the response is just a few bytes it is always padded with 0x00 to make it a 64 byte packet to preserve compatibility across different host interfaces All management commands use a CCID PC_to_RDR_XferBlock message to communicate with the module The ap...

Page 57: ...oader version on the NFC module 8 2 1 Management command bytes Byte Command Value Comments 0 0x01 Command byte 1 63 0x00 Unused bytes set to 0x00 8 2 2 Management response bytes Byte Response Value Comments 0 0x01 Command echoed 1 Bootloader major version 2 Bootloader minor version 3 63 Ignored 61 bytes 8 2 3 Example This command retrieves the bootloader version 0106 USB Command 0x01 Response 0x01...

Page 58: ...63 0x00 Unused bytes set to 0x00 8 3 2 Management response bytes Byte Response Value Comments 0 0x02 Command echoed 1 0xAA 2 0x55 3 63 0x00 Ignored 61 bytes 8 3 3 Example This command switches to the bootloader and then resets the NFC module USB Command 0x02 Response 0x02 0xAA 0x55 Serial Command 0x6F 0x01 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x02 Response 0x80 0x36 0x00 0x00 0x00 0xFF 0x00 0x0...

Page 59: ...and 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 LSR118 and these values should not need to be changed The NFC module does not modify a timing value if its value is set to zero 0 when you send the command Using this command incorrectly may cause the device to become inoperable 8 5 1 M...

Page 60: ... 3 Example This command sets the RF reset time for media polling LSB to 200 milliseconds USB Command 0x06 0x00 0x00 0x00 0xC8 0x00 0x00 0x00 0x00 0x00 0xC8 Response 0x06 0x90 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Serial Command 0x6F 0x0B 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x06 0x00 0x00 0x00 0xC8 0x00 0x00 0x00 0x00 0x00 0xC8 Response 0x80 0x36 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0...

Page 61: ... 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 USB Command 0x06 0x00 0x80 Response 0x06 0x00 0x80 0x00 0x64 0x14 0x00 0x05 0x05 0x00 0xFA Serial Command 0x6F 0x02 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x06 0x00 0x80 Response 0x8...

Page 62: ...mmand 0x6F 0x01 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x07 Response 0x80 0x36 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x07 0x090 0x0 8 8 Exit sleep mode Use this command to exit from sleep mode turn RF on and resume normal operation 8 8 1 Management command bytes Byte Command Value Comments 0 0x09 Command byte 1 63 0x00 Unused bytes set to 0x00 8 8 2 Management response bytes Byte Response Value...

Page 63: ...Value Comments 0 0x0B Command echoed 1 NFC kernel major version BCD hexadecimal value 2 NFC kernel minor version BCD hexadecimal value 3 63 0x00 Ignored 61 bytes If both the major and minor kernel versions are 0x00 the NFC reader is not enabled in firmware If you believe this is in error contact support access is com 8 10 Get media serial number Use this command to get the media serial number Tabl...

Page 64: ...a The detected media type is MIFARE Ultralight USB Command 0x0D Response 0x0D 0x05 0x07 0x04 0xBC 0xB8 0xD2 0x3B 0x3C 0x80 Serial Command 0x6F 0x01 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x0D Response 0x80 0x36 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x0D 0x05 0x07 0x04 0xBC 0xB8 0xD2 0x3B 0x3C 0x80 8 10 4 Media type values The value of byte 2 indicates the media type as shown in the following ta...

Page 65: ...and byte 1 Slot ID As defined in Communicating with individual readers on page 33 2 0x01 Disables notifications Any other value enables notifications 8 11 2 Management response bytes Byte Response Value Comments 0 0x0E Command echoed 1 0x90 or 0x69 0x90 Success 0x69 Failure 2 0x00 3 63 Ignored unused bytes 8 11 3 Example This command disables notifications from the NFC reader Command 0x6F 0x01 0x0...

Page 66: ... baud rate 2 0x55 Signature bytes 3 0x5A 4 0xA5 5 0xAA 8 12 1 Management response bytes Byte Response Value Comments 0 0x10 Command echoed 1 0x90 or 0x69 0x90 Success new baud rate accepted 0x69 Failure no change in baud rate 2 0x00 3 63 Ignored unused bytes 8 12 2 Example This command sets the baud rate to 57600 Kbps Command 0x6F 0x01 0x00 0x00 0x00 0xFF 0x00 0x00 0x00 0x00 0x10 0x03 0x55 0x5A 0x...

Page 67: ...trib function 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 SCAR...

Page 68: ...tifier 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 Byte 7 6 5 4...

Page 69: ...nd commands To send commands to the LSR118 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 This example requests the firmware version from the LSR118 Bit Byte 7 6 5 4 3 2 1 0 0 253 1 0x0B 2 0x16 0x4D 0x0D AISFWV1 63 ...

Page 70: ... with the following structure Bit Byte 7 6 5 4 3 2 1 0 0 Report ID 4 1 Activate Good Read light Green Activate 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 71: ... 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 72: ...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 37 C 7 Disconnect the card SCardDisconnect hCrd SCAR...

Page 73: ...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 74: ...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 75: ...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 76: ...IS 2020 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 77: ...ht Access IS 2020 E Document history Issue Date Description 1 0 15 03 2016 First issue 1 1 30 10 2018 Updates to Approvals section 1 2 12 08 2020 Added note to Command reference introduction about following commands with a ...

Reviews: