Specifications
Chapter 16. Device Control Functions
The device control functions listed below control the devices (barcode reading device, backlight, battery,
indicator LED, etc.) dedicated to the BHT.
Function Used to:
BHT_EnableBar
Open the barcode device file to enable barcode reading. This function
specifies the read mode and readable barcode types.
BHT_DisableBar
Close the barcode device file to disable barcode reading.
BHT_ReadBar
Read out data read from the barcode buffer.
BHT_ReadBarEx
Read out data from the barcode buffer and encodes it into the specified
data format.
BHT_GetBarType
Read the barcode type and the number of digits of a barcode read most
recently.
BHT_GetBarNum
Read the number of digits of the barcode remaining in the barcode buffer.
BHT_GetBarInfo
Read the information on the code read most recently.
BHT_GetBarChkDgt
Calculate a check digit (CD) of the barcode data according to the
calculation method specified by dwCDType.
BHT_BAR_SetDecodeOptions
Sets the editing function setting value for the decoded result.
BHT_BAR_GetDecodeOptions
Acquires the editing function setting value for the decoded result.
BHT_SetBltStatus
Control the backlight.
BHT_GetBltStatus
Read the backlight status.
BHT_GetPowerStatus
Read information about the battery loaded in the BHT body.
BHT_GetPowerStatus2nd
Read information about the battery loaded in the grip.
BHT_GetNLedStatus
Read the status of the indicator LED.
BHT_SetNLedStatus
Control the indicator LED.
BHT_GetNLedStatusEx
Read the status of the indicator LED and synchronization LED.
BHT_SetNLedOn
Turn on the indicator LED and/or synchronization LED.
BHT_SetNLedOff
Turn off the indicator LED and/or synchronization LED.
BHT_StartBeep
Drive the beeper/vibrator.
BHT_StartBeeperOnly
Drive the beeper.
BHT_StartVibrationOnly
Drive the vibrator.
58










