\\mainbrain\G:\helmi\projects\reverse\current\cyberpen GetBarcodes.txt Version 2.17 (closed) Upload barcodes and clear memory of the device (one barcode stored): Command sent Response message Comments ------------------------------------------------------------------------------------------------------------- Wakeup 01 06 02 31H 06-No error 02-STX 31-Protocol type:1 02 00 00-Systemstatus ok (other-Low Battery Indication) 00 00 00 00 00 00 00 00 00 8 Bytes User ID 03 N B R I P A A A 8 Bytes Device Firmware Version 00 00-Null (message terminator) LRC LRC-XOR checksum of message ------------------------------------------------------------------------------------------------------------- Get Barcodes 07 06 02 30 30 30 30 30 30 30 30 06-No error 02-STX 8 Bytes Device ID 02 mm nn FF FF mm nn-Upload Counter (shows 00 01 on a new device) 00 09 41 34 30 32 33 35 33 36 33 09-Length of string 41-Barcode ID Barcode: 40235363 05 00 LRC 00-Null LRC-XOR checksum (one barcode stored) (Length of String = Barcode ID char. + Barcode chars.) ------------------------------------------------------------------------------------------------------------- Clear Codes 02 06 02 00 04 06-No error 02-STX 00-Null 04-XOR checksum 02 00 00 ------------------------------------------------------------------------------------------------------------- Powerdown 05 06 02 00 04 06-No error 02-STX 00-Null 04-XOR checksum 02 00 07 ------------------------------------------------------------------------------------------------------------- Barcode ID: Char. No. Barcode (not all of the codes listed below may be supported by this device) ------------------------------------------------------------------------------------------------------------- A 41 UPC-A, UPC-E, UPC-E1, EAN-8, EAN-13 B 42 Code 39, Code 32 C 43 Codabar D 44 Code 128 or ISBT 128 E 45 Code 93 F 46 Interleaved 2 of 5 G 47 Discrete 2 of 5 or Discrete 2 of 5 IATA J 4A MSI Plessey K 4B UCC/EAN-128 L 4C Bookland EAN M 4D Trioptic Code 39 N 4E Coupon Code -------------------------------------------------------------------------------------------------------------- end of file