; *********************************************************************
; *** the read buffer size grater than the FIFO size requires short ***
; *** packets from the device, see documentation for details!       ***
; *********************************************************************
HKR,,ReadBufferSize,  %REG_DWORD%, 1024
HKR,,WriteBufferSize, %REG_DWORD%, 1024
HKR,,UseLogicBuffer,  %REG_DWORD%, 0
HKR,,ReadBufferCount, %REG_DWORD%, 3
HKR,,WriteBufferCount,%REG_DWORD%, 3

HKR,,SendLineCoding,  %REG_DWORD%, 1
HKR,,SendLineState,   %REG_DWORD%, 1
HKR,,SendBreak,       %REG_DWORD%, 1
; 0 - CDCACM, 1 - Bulk Only, 2 - Bulk special, 3 - automatic
HKR,,OperationMode,%REG_DWORD%, 0
; default serial line states reported in bulk only mode or 
; if the device never updates the status values
; use a or'ed value of: CTS=0x10, DSR=0x20, RI=0x40, DCD=0x80
HKR,,DefaultLineState,%REG_DWORD%, 0x10

; If your device is a Windows CE system with bulk only communication 
; the following paramters are recommended instead of these above.
; Delete correponding lines above in this case.
;HKR,,SendLineCoding,  %REG_DWORD%, 0
;HKR,,SendLineState,   %REG_DWORD%, 0
;HKR,,SendBreak,       %REG_DWORD%, 0
;HKR,,OperationMode,%REG_DWORD%,    1
;HKR,,DefaultLineState,%REG_DWORD%, 0x30


; set this to 0 to suppress the Clear Feature Endpoint Halt during Open and Wakeup
; this does not work on Windows 2000!
HKR,,ClearFeatureOnStart,%REG_DWORD%, 0
HKR,,VendorPipeReset,%REG_DWORD%, 0
HKR,,StaticDeviceObject,%REG_DWORD%,1
HKR,,ClearRtsDtrOnClose,%REG_DWORD%,0

; 0 - user timeout with STATUS_TIMEOUT, no bytes transferred
; 1 - emulate send with transfer time, STATUS_SUCCESS, all bytes transferred
HKR,,DisConWriteMode,%REG_DWORD%,0
HKR,,IgnorePurgeTxClear,%REG_DWORD%,0

; the default prefix for the device object
HKR,,DeviceObjectName,%REG_SZ%,"thcdcacm"

; set this to 1 to avoid any short packets in TX
HKR,,DoNotSendShortPackets,%REG_DWORD%,0

; set this to 1 to disable the COM port name 
; use the DriverUserInterfaceGuid to open the driver
; see documentation for details
HKR,,DisableComLink,%REG_DWORD%,0
