-
s1 to S255.m=0 is download setting, m=1 is
reset the setting area into FF. m=2 is upload
setting.
Actually you just need the format as bellow:
Download:
Esc,1,02,91,0,s1,...,s255,BCC
Upload:
S1 is =0_disable,1 enable(Remove the brace)
S1 is =0 0.5s,1_1s,2 1.5s 3 2s
Exchange data Esc,Lh,Ll,a3,S1,S2,....,Sn,
BCC
•
Esc,80H+ACK(06H)
• Exchange the data between the host and the
ICC.
• Expected return after issuing
Execute/Enquiry command are:
Esc,Lh,Ll,0xa3,AH,data,BCC
Here: AH=0 Success
=1 Timeout
=2 No card present
data: Response data and status word
Note: Hamster save these commands to buffer and do not execute until it receives
an Execute command (Esc,ENQ). Hamster execute the command after receive an
“Esc,ENQ” then send back a reply. The Max. Length of data is 264. The m and the
reply define as following:
DATA TO HOST FROM HAMSTER
Data format: Code_number,Lh,Ll,string
Here: The Lh/Ll is string length, Lh is high byte, Ll is low byte, The string
length is excluded the Code_number and Lh/Ll. The string contains the Code ID,
pre_amble, scanned data,post_amble, and terminator. Code_number is equal to
following number plus H’80.
1 Code 39 standard or EDP Code
4 SysIOAPI.DLL
This DLL provide hardware relative API for user to control scanner, LED, back-light and slot.
API functions are provided through DLL to assist programmer to write application. . Two files
are essential and provided in SDK, SysIOAPI.LIB and SysIOAPI.H.
The link includes the sample program for SysIOAPI.
http://w3.tw.ute.com/pub/cs/software/Sample_Program/SysIOAPI/SysIOAPISample.zip
Note : For programming, it need to dynamically load DLL for using Unitech built-in DLL (Unitech will not
provide *.H and *.LIB for compiler for Windows Mobile OS), please refer to Chapter 5 for programming
guide.
Note : Not all device support these functions.
Comments to this Manuals