Unitech PA960 User Manual Page 1

Browse online or download User Manual for Mobile phones Unitech PA960. Unitech PA968 II Programming Guide

  • Download
  • Add to my manuals
  • Print
  • Page
    / 98
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
HT660e/HT680/PA968 Series/PA550/PA600
Programming Manual
V 1.21 2011-04-18
Page view 0
1 2 3 4 5 6 ... 97 98

Summary of Contents

Page 1 - Programming Manual

HT660e/HT680/PA968 Series/PA550/PA600 Programming Manual

Page 2

- 1 Introduction 1.1 How to download data from scanner The major difference between the HT6xx/PA96x/RH_Series/PA982 and a standard HPC/Palm

Page 3

- 1.2 COM definition for HT6xx/PA96x/PA982/RH Series/PA6xx/PA550 General: COM 1 Physical full RS232 port (ActiveSync) COM 2 Scanner (Hamster)

Page 4

- Mobile Version: COM 0 USB to serial COM 1 Reserve COM 2 Bluetooth COM 3 IrDAComm COM 4 Scanner (Hamster) COM 5 BTModem COM 6 USB client COM

Page 5

- 1.3 Get SDK from Unitech? You can get WinCE SDK from below URL HT660 SDK http://w3.tw.ute.com/pub/cs/sdk/ht660/HT660SDK.zip HT680 S

Page 6

- 2 USI.DLL – Unitech Scanner Interface DLL The link includes the sample program and SDK for USI. http://w3.tw.ute.com/pub/cs/SDK/USI/USISDK.z

Page 7

- BOOL: TRUE : OK FALSE : Failure 2.2 Unregister the application from the USI.DLL Function Description: Unregister the applicat

Page 8

- 2.6 Returns the system error code Function Description: Returns the system error code, which is returned by GetLastError. It will also ret

Page 9 - - 9

- BCT_EAN_128 // EAN 128 BCT_UPC_E1 // UPC E1 BCT_UPC_E1_2SUPPS // UPC E1 with 2 Supps BCT_UPC_E1_5SUPPS // UPC E1 with 5 Supps BCT_

Page 10

- BCT_EAN_13_5SUPPS EAN 13 with 5 Supps. BCT_MSI_PLESSEY MSI Plessey BCT_EAN_128 EAN 128 BCT_TRIOPTIC_CODE_39 Trioptic Code 39 BCT_

Page 11

- 2.10 Clear scan data system buffer Function Description: Reset the data buffer so that next new scan data can come in. Function call:

Page 12

- 2 1 INTRODUCTION ... 10 1.1 H

Page 13

- 2.14 Save scanner setting into specified file Function Description: Save the current settings to file. The file takes “*.USI” as extensi

Page 14

- 2.17 Stop auto scanning function Function Description: Stop auto scanning Function call: void USI_StopAutoScan(); 2.18 Check if aut

Page 15

- 2.21 Load/Unload Scan2Key.exe Function Description: Load or unload Scan2Key Function call: BOOL S2K_Load(BOOL load, DWORD timeout); Pa

Page 16 - 2.7 Get scan data

- 2.24 Only send single command decoding chip Function Description: Send command to decoder chip. This is a variation of command HAM_SendCom

Page 17 - 2.9 Get Symbology name

- and got response from scanner. USI_WaitForSendEchoTO is not needed before a next continuous send command call. BOOL HAM_SendCommand_Get(WORD

Page 18

- 2.30 Get scanner related version information Function Description: Get Scanner related version information. It does not need to call USI_R

Page 19 - 2.11 Good read indicator

- 2.34 Resize image (available for 2D model) Function Description: Resizes a bitmap. Function call: HBITMAP USI_ResizeBitmap(HBITMAP hbmp,

Page 20

- 2.39 Set good read sound mode and sound name Function Description: Sets Good-Read-Echo mode and sound file name. Function call: BOOL USI

Page 21

- 3 Control command for decoder chip (Hamser: 1D only) Important: This chapter describes low level command for scanner control function. If yo

Page 22

- Command format:Esc,Lh,Ll,n,m,S1,...,Si,BCC Here: Esc is Escape code(H'1B) Lh/Ll is command's length when the Lh.b7 is 0, Lh is high

Page 23

- 3 2.22 Enable/Disable Scan2Key ...

Page 24

- Aim_fuction Esc,0,4,1a,m,S1,BCC S1 is 0_DISABLE,1 ENABLE Scan_pre_data Esc,0,L,1b,m,S1,…Si,BCC Si can be 1 to 8 CHARACTERS Scan_post_data Esc

Page 25

- I2of5_cd,S1.B5B4 is for I2of5_ss I2of5_enable Esc,0,4,41,m,S1,BCC S1 is =0 disable,1_enable I2of5_fixlength Esc,0,4,42,m,S1,BCC S1 is =0 on,1

Page 26 - 2.37 Set terminator

- Codabar_set Esc,0,4,6a,m,S1,BCC S1 is S1.b0 is for Codabar_enable, S1.b1 is for Codabar_ss, S1.b3b2 is for Codabar_cd, S1.b4 is for Codabar_C

Page 27

- .Si,BCC 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 a

Page 28 - Special Command for control

- 4.1 Keypad Related Functions 4.1.1 Disable/enable power button Function Description: To enable / disable power button Function call: v

Page 29

- 4.1.4 Check Alpha key is pressing Function Description: This function is used to check if alpha key is pressed or not. Function call: BO

Page 30

- 4.1.9 Set Function Mode Function Description: This function is used set keypad in function mode or not. Function call: void SetFnKeyWorki

Page 31

- 4.1.15 Enable/Disable Talk Key Function Description: This function is used to enable/disable Talk key. Function call: void SetPhoneTalkK

Page 32

- 4.2 Scanner Related Functions To save power, the decoder IC is disabled when scanner is not in use. It can be enabled through USI functions.

Page 33 - AimingTime

- 4.2.5 Get Scanner Status Function Description: This function returns the status of scan engine, or trigger key. Function call: BOOL GetS

Page 34

- 4 4.1.8 Enable/Disable Function key ...

Page 35

- 4.3 LED related function 4.3.1 Turn On/Off Good Read LED Function Description: This function is used to turn on/off good read LED. Functi

Page 36

- 4.4 Backlight related function There are two backlight controls, screen backlight and keypad backlight. They are controlled separately. For

Page 37

- 4.4.5 Screen Backlight Brightness Control Function Description: This function adjusts screen backlight brightness. Function call: void B

Page 38

- 4.6 Enable/Disable Vibration Function Description: This function enables/disables vibration. Function call: void VibrationOn(BOOL bEnabl

Page 39 - 4.2.5 Get Scanner Status

- 4.9.3 Set Main Microphone Function Description: This function is used to switch main microphone. Function call: void Set_Main_Mic

Page 40

- 4.12 PCMCIA/CF slot related functions In HT660, it only support CF slot and PA96x/PA982 can support both CF and PCMCIA slot. So, please note

Page 41

- 4.12.4 Inquire PCMCIA/CF slot status Function Description: This function returns PCMCIA/CF slot enable/disable status. Terminal assigns ph

Page 42

- 4.13 Enable/Disable LCD screen Function Description: Turn on / off LCD screen Function call: void PowerOnColorLCD(BOOL fON) Parameters

Page 43

- 6 RFID HF Reader To programming RFID HF reader, it needs C++ library. Please get it from below URL. http://w3.tw.ute.com/pub/cs/SDK/RFID/R

Page 44

- 6.1.4 Select Card type Function Description: This API change the reader working type with different card type and this should be called befor

Page 45

- 5 4.11.1 Enable/Disable Bluetooth Power status ...

Page 46

- 6.2 ISO-15693 6.2.1 Inventory Function Description: Set the card to StayQuiet mode and return the card ID. Function Call: INT32 RDINT_ISO15

Page 47 - 5 Dynamic Load DLL

- 6.2.4 Set Ready Mode Function Description: Set the card to Ready mode for StayQuiet or Select mode. Function Call: INT32 RDINT_ISO15693Rese

Page 48

- 6.2.7 ISO15693 Lock Block Function Description: Lock the block on ISO15693 tag. Function Call: INT32 RDINT_ISO15693LockBlock(BYTE u8COMPort,

Page 49 - 6.1.6 Antenna Control

- 6.2.10 Write DSFID to ISO15693 Tag Function Description: Write DSFID to the specific ISO15693 tag. Function Call: INT32 RDINT_ISO15693Write

Page 50 - 6.2.3 Set Select Mode

- 6.3 ISO-14443A 6.3.1 Write Default Key Function Description: Write the default key to reader. Function Call: INT32 RDINT_WriteDefaultKey(B

Page 51 - 6.2.4 Set Ready Mode

- 6.3.3 ISO-14443A Close Card Function Description: Unlock the ISO-14443A tag. After control the ISO-14443A tag, user should call this API to u

Page 52 - 6.2.9 ISO15693 Lock AFI

- 6.3.5 ISO-14443A Read Sector Data Function Description: Read the specify sector data. Function Call: INT32 RDINT_ReadMifareOneSector(BYTE u8

Page 53 - 6.2.12 Get Data From Reader

- 6.4 ISO-14443B 6.4.1 Select ST Card Function Description: Select ST card. Function Call: INT32 RDINT_STCardSelect(BYTE u8COMPort, LPBYTE p

Page 54 - 6.3.2 ISO-14443A Open Card

- 6.4.5 Lock SR176 Block Function Description: Lock the specify block on SR176 card. Function Call: INT32 RDINT_SR176LockBlock(BYTE u8COMPort,

Page 55 - 6.3.3 ISO-14443A Close Card

- 6.4.9 Read SRIX4K Card ID Function Description: Read the SRIX4K card ID. Function Call: INT32 RDINT_SRIX4KReadUID(BYTE u8COMPort, LPBYTE pu8

Page 56

- 6 6.5 Error Code ...

Page 57 - 6.4.2 Release ST Card

- LRINUSE 0xFB Card in use by another applications LRAPPLICERR 0xFC API system error LRLINKLOST 0xFD Link to Reader has been lost LRBADCOMPORT

Page 58 - 6.4.5 Lock SR176 Block

- 7 UHF reader for WJ To programming UHF reader for WJ, it need C# DLL “MPR DLL.dll”. Please get it from below URL. http://w3.tw.ute.com/pub/c

Page 59 - 6.5 Error Code

- 7.3 The Function in MPRReader 7.3.1 Connect to RFID Reader Function Description: To create a connection with the reader before control it.

Page 60

- 8 UHF reader for SkyeTek To programming UHF reader for SkyeTek, it need C++ DLL “Skyedll.dll”. Please get it from below URL. http://w3.tw.ut

Page 61

- 8.4 Select Gen2 Tag Function Description: To only detect EPC Class1 Gen2 tags. Function Call: BOOL SelectGen2Tag (char *szData); Parameter

Page 62 - 7.3.4 The Event in MPRReader

- 8.7 Select ISO18000-6B Tag Function Description: To only detect an ISO18000-6B tag. Function Call: BOOL SelectISO180006BTags (char *szData)

Page 63

- 8.10 Select All Tags of Any Type Function Description: Selecting all supported tags in field. Function Call: BOOL InventoryTag (int *nIndex

Page 64 - 8.4 Select Gen2 Tag

- 8.13 Lock Gen2 Tag Function Description: Set password protection for the different memory bank of the tag. Function Call: BOOL LockGen2Tag

Page 65 - 8.7 Select ISO18000-6B Tag

- 8.16 Set Reader’s Power Level Function Description: To set reader’s power level. Function Call: BOOL SetPowerLevel(int nPower, BOOL bSetDef

Page 66 - 8.12 Send a Tag Password

- 8.19 Set Reader’s Frequency Function Description: To set reader’s frequency. Function Call: BOOL SetFrequency(FREQUENCY_TYPE nFrequencyType

Page 67 - 8.14 Lock ISO18000-6B Tag

- 7 8.21 Set Reader’s Hop Channel Spacing ...

Page 68 - 8.18 Get Reader’s Frequency

- 8.22 Get Reader’s Firmware Version Function Description: To get reader’s firmware version. Function Call: BOOL GetFWVersion (char * szVersi

Page 69 - 8.19 Set Reader’s Frequency

- 9 UHF Reader for Kitty This library “RFID18K6CReader.dll” is used to control the RFID Reader Kitty. Please get it from below URL. http://w3

Page 70

- 9.3 RFID Reader Configuration After RFID Reader Interface has been successfully initialized, Developer must open a RFID Reader and then Conf

Page 71

- 9.3.5 Set the Response Data’s Mode of the RFID Reader Description: Allows the application to control the mode of data reporting for tag-ac

Page 72 - 9.3.2 Close RFID Reader

- 9.3.10 Get the RFID Reader’s Low-Level Parameter Description: Retrieves a low-level RFID Reader module configuration parameter. Function Ca

Page 73

- 9.4.4 Retrieving Antenna-Port Configuration Description: Retrieve a single logical antenna port's configuration parameters – for exam

Page 74

- 9.5.2 Get Antenna’s Response Status Description: After the tag access operation executed call this function to retrieve the Antenna's s

Page 75 - 9.5.1 Callback function

- 9.5.6 Tag Inventory Operation Description: Executes a tag inventory for all tags of interest. If the selection Criteria and post-singulation

Page 76

- 9.5.9 Modify EPC Operation Description: Modify the target tag's EPC. Function Call: void RFIDTagWriteEPC(RFID_WRITE_EPC stEPC, LPACCESS

Page 77 - 9.5.8 Tag Write Operation

- 9.5.13 Tag Post Singulation Operation Description: Configures the post-singulation match criteria to be used by the RFID radio module. An ap

Page 78 - 9.5.11 Tag Lock Operation

- 8 9.6.1 Get RFID Reader’s Firmware Version ...

Page 79

- 9.5.17 Cancelling a Tag Operation Description: Stops a currently-executing tag operation on a RFID Reader. Function Call: RFID_STATUS RFIDCa

Page 80

- 9.7 Structure of the Library 9.7.1 RFID_ANTENNA_PORT_CONFIG Description: The configuration parameters for a logical antenna port. Define: t

Page 81

- 9.7.2 ACCESS_STATUS Description: Contain the information of the tag operation result. Define: typedef struct ACCESS_STATUS_TAG{ FILETIME ftS

Page 82 - 9.7.3 ANTENNA_STATUS

- 9.7.4 ACCESS_DATA Description: Contain access data of the tag return by the antenna. Define: typedef struct ACCESS_ DATA _TAG{ INT16U unEPCL

Page 83 - 9.7.5 RFID_INVENTORY

- 9.7.6 RFID_READ Description: Tag Read Operation parameters. Define: typedef struct RFID_READ_TAG { HWND hWnd; //Parent window RFIDPROC lpfn

Page 84 - 9.7.7 RFID_READ_EX

- 9.7.8 RFID_WRITE Description: Tag write operation’s parameter. Define: typedef struct RFID_WRITE_TAG { HWND hWnd; //Parent window RFIDPROC

Page 85 - 9.7.8 RFID_WRITE

- 9.7.9 RFID_WRITE_EX Description: Tag write extension function's parameter. Define: typedef struct RFID_WRITE_EX_TAG { HWND hWnd; //Par

Page 86 - 9.7.10 RFID_WRITE_EPC

- 9.7.11 RFID_KILL Description: The structure of Kill a tag. Define: typedef struct RFID_KILL_TAG { HWND hWnd; //Parent window RFIDPROC lpfnS

Page 87 - 9.7.12 RFID_KILL_EX

- 9.7.13 RFID_LOCK Description: The structure of Tag locks function. Define: typedef struct RFID_LOCK_TAG { HWND hWnd; //Parent window RFIDPR

Page 88 - 9.7.13 RFID_LOCK

- 9.7.14 RFID_LOCK_EX Description: Tag Lock extension function's parameter. Define: typedef struct RFID_LOCK_EX_TAG { HWND hWnd; //Paren

Page 89 - 9.7.15 RFID_SELECT_CRITERIA

- 9 19 32WAN GPRS LIBRARY ... 97 20 UPDATE NOTES

Page 90

- 9.7.16 RFID_POST_SINGULATION Description: The structure of post-singulation matches criteria. Define: typedef struct RFID_POST_SINGULATION_T

Page 91 - 9.8 Error Code

- 9.8 Error Code There are two types of error codes. One is returned by RFID Library interface indicates RFID library status and the other is

Page 92

- Access Operation Result: Value Description 0x00 Success 0x01 Read after write verify failed. 0x02 problem transmitting tag command 0x03 CRC

Page 93 - 9.9.2 Programming Model

- 9.9 Support Dot Net Compact Framework R1000ReaderCF.dll is a C# wrap of Native C/C++ DLL of RFID18k6cReader.dll. It provides APIs for Dot Ne

Page 94

- 10 Useful function call – without include SysIOAPI.DLL Below API maybe useful for you to control HT6xx/PA96x 10.1.1 Warm-boot. Cold-boot

Page 95 - “Func”+”9”

- 12 Get OEM Info In HT6xx/PA96x, an OEM ID had been burnt into terminal, user can check it by pressing “Func”+”9”. The sample code for read O

Page 96

- 14 Camera SDK Please get SDK from below URL. http://w3.tw.ute.com/pub/cs/SDK/Camera/CameraSDK.zip Note: This SDK only for PA550 and PA690.

Page 97

- 18 USI ActiveX Control Please get binary file and html example from below URL. http://w3.tw.ute.com/pub/cs/software/Sample_Program/USIActive

Page 98 - 20 Update notes

- 20 Update notes V1.0 The first version V1.1 Wrong URL link for C# on chapter 1.4 V1.2 PA982 support V1.3 Add RH767 HF/UHF programming on

Comments to this Manuals

No comments