Smart accessories
for smartphones/tablets (4 pages)
Summary of Contents for KoamTac KDC100
Page 1
KDC100 ROGRAMMING ANUAL Rev2.4 A New Wave in Auto ID...
Page 2
KoamTac reserves the right to make changes to any product to improve reliability, function, or design. KoamTac doesn’t assume any product liability arising out of, or in connection with, the application or use of any product, circuit, or application described herein.
Internal data buffer KDC100 has 200K bytes flash memory where it stores the read barcodes. Its capacity, in terms of number of barcodes, depends on the size of barcodes. Barcodes are stored sequentially as they are scanned in the internal flash memory.
Therefore, KDC100 can store 10,240 UPCA barcodes. If different length barcodes are mixed, user cannot compute a priori what the maximum number of barcodes is. What happens when this buffer is full? When the internal flash memory is full, KDC100 displays buffer full message and ignores the command to scan barcodes.
KDC100 Programming Manual Command Set KDC100 has various commands and they are quite simple. They are shown in the following table. Command Input Output Description None value @ Returns current battery capacity(value = 0~100) YMDHmS Setting new date and time of KDC100...
Parameters: None Format: ‘D’ Output: ‘!’ – KDC100 internal flash memory is full or Reading failure ‘@’ – Barcode reading success Purpose: Turns the motor on, then turns the laser on and starts scanning. When a barcode is found or if...
Format: ‘F’ Output: ‘@’ – all the times. Purpose: Set KDC100 internal options and flags to the factory default setting. The factory default settings are: - All symbologies are enabled. - All options are disabled except . UPCE_ReturnCheckDigit . UPCA_ReturnCheckDigit .
“Hxxxx#” where xxxx is the value of parameter in hex. Output: ‘!’ – invalid parameter. ‘@’ – all other times. Purpose: Selects if KDC100 need(1)/doesn’t need(0) to handshake with HOST while sending packet data. KD100 doesn’t do handshake if sending barcode only. ‘h’ command Parameters: None Format: ‘h’...
‘N’ Output: ‘xxxxxxxx@’ where xxxxxxxx is the number of stored barcodes and @ means the end of data Purpose: Read the number of stored barcodes in KDC100 internal flash memory ‘O’ command Parameters: The options (it is unsigned 32-bit number) Format: ‘Oxxxxxxxx#’...
‘o’ Output: ‘xxxxxxxx@’ where xxxxxxxx is the selected barcode options and @ means the end of data Purpose: Read the barcode options saved in KDC100. Please see the table of command ‘O’ for detail explanation of options ‘P’ command Parameters: None.
Output: A multi-byte string (see below). KDC100 sends only one barcode data at one time. Purpose: Read the Nth barcodes data stored in KDC100 internal flash memory. Does not erase the barcode. Where: S : Start byte 0x03(1 byte) N : Total number of bytes to be sent(3 bytes)
Purpose: Selects how KDC100 handles scanned barcode. If the value xxxx is 0: KDC100 doesn’t store scanned barcode in the memory and just transmits it to the host. 1: KDC100 stores scanned data in the memory and transmits it to the host.
HOST again. KDC100 will attempt 10 times until it gets a response from HOST. Data Format KDC100 supports two kind of data format when sending data to HOST as the following: PAYLOAD only Barcode data...
KDC100 Programming Manual C : Total number of each barcode data(1 byte) Y : Type of each barcode(1 byte) D : Actual barcode data of each barcode(variable size) T : Timestamp of each barcode(4 bytes) K : Check sum byte(1 byte). All sum except S should be 0.
Wedge mode If KDC100 read a barcode and configured to send packet data, KDC100 waits for 1 second to get a response from HOST after sending a read barcode data to HOST. KDC100 goes to ready mode upon receiving either success or failure response.
KDC100 exits waiting state if it receives any response from HOST. KDC100 replies to HOST with sending ‘@’ for a success response. KDC100 waits for 1 second and exits waiting state with sending a ‘!’ to HOST if there is no response from HOST.
Miscellaneous KDC100 sends "?" character. “?” is sent by KDC100 when the device receives undefined character (command) from Host. Application would ignore “?” character...
KDC100 Programming Manual Contact Information KDC Technical Support Team 116 Village Blvd. Suite 200 Princeton, NJ 08540 TEL: +1-908-734-4335 FAX: +1-609-226-4373 Email: support@koamtac.com URL: www.koamtac.com...