Setting The Beeper/Vibrator - Denso BHT-700-CE Reference Manual

Barcode handy terminal
Table of Contents

Advertisement

5.2. Setting the Beeper/Vibrator

The BHT_SetSysSettingDW (DWORD dwCtrlCode, DWORD dwSysParam)
and BHT_GetSysSettingDW (DWORD dwCtrlCode, DWORD *pdwSysParam) functions write or read the
beeper/vibrator parameters as specified below.
Parameter
Type
name
Rumble
DW
device
Beeper
DW
volume
(*1)
Key clicks
DW
(*2)
Screen taps
DW
Trigger
DW
switch clicks
(*3)
(*1) This setting is effective only when the value 0, 1, or 2 is specified to the frequency in the beeper
start/stop functions (BHT_StartBeep or BHT_StartBeeperOnly).
(*2) This excludes the pressing of magic keys assigned to the trigger switch and the [SCAN] key when
the "trigger switch click sound" is OFF.
(*3) This is effective only when pressing magic keys assigned to the trigger switch and the [SCAN] key.
The rumble device specification above takes effect when the beeper/vibrator is driven:
(1) by the BHT_StartBeep function.
(2) due to low battery warning, in conjunction with the "Battery voltage has lowered." or "Charge the
Battery!" message.
(3) upon completion of barcode reading.
The MessageBox, MessageBeep and PlaySound Windows CE standard APIs and Windows CE standard
warning and notification sounds are enabled by the audio function, and therefore there is no influence on
settings made with the above functions.
The sound pattern of the key clicks, screen taps, and trigger switch clicks is as follows:
ON-duration: 10 ms
Frequency: 1396 Hz
Volume : Loud, Soft
Control code
R/W
(dwCtrlCode)
R/W
BHT_BEEP_VIB
_SELECT
R/W
BHT_BEEP_VIB
_VOLUME
R/W
BHT_BEEP_VIB
_KEY
R/W
BHT_BEEP_VIB
_TAP
R/W
BHT_BEEP_VIB
_TRGKEY
Parameter value
(dwSysParam)
BEEP_SELECT
: Beeper
VIB_SELECT
: Vibrator
BEEP_SELECT | VIB_SELECT
: Beeper and vibrator
0: OFF
1 (Lowest) to 5 (Highest)
0: OFF
1 (Soft)
2 (Loud)
0: OFF
1 (Soft)
2 (Loud)
CLICK_SOUND_OFF: Prohibit
CLICK_SOUND_ON: Permit
11
Default
BEEP_SELECT
after setting
5
after setting
2
after setting
2
after setting
CLICK_SOUND_OFF
after setting
Validating
timing
First sound
First sound
First sound
First sound
First sound

Advertisement

Table of Contents
loading

Table of Contents