Denso BHT-700-CE Reference Manual page 109

Barcode handy terminal
Table of Contents

Advertisement

BHT_GetPowerStatus2nd
Description
Read information about the battery loaded in the grip.
Syntax
DWORD BHT_GetPowerStatus2nd (
WORD*
pwCuOnLine
WORD*
pwBatteryFlag
WORD*
pwBatteryVoltage
WORD*
pwBatteryChemistry
Parameters
pwCuOnLine
[out] Read the BHT state on/off the CU
pwCuOnLine
AC_LINE_ONLINE
AC_LINE_OFFLINE Not placed on the CU
pwBatteryFlag
[out] Read battery voltage level
pwBatteryFlag
BHT_BATTERY_FLAG_NO_BATTERY No battery loaded or no grip connected
pwBatteryVoltage
[out] Battery output voltage (mV)
"0" is always returned.
pwBatteryChemistry
[out] Battery type
pwBatteryChemistry
BATTERY_CHEMISTRY_UNKNOWN Unknown
Return value
Error code
ERROR_SUCCESS
ERROR_INVALID_PARAMETER Storage address not specified.
Comments
With the BHT-700, the battery is not stored in the grip, and therefore the following information is returned
if this function is called.
- Battery voltage level
- Battery output voltage : 0 mV
- Battery type
,
,
,
)
Specification
Placed on the CU
Specification
Successful completion
: BHT_BATTERY_FLAG_NO_BATTERY (No battery loaded)
: BATTERY_CHEMISTRY_UNKNOWN (Unknown)
Specification
Meaning
104

Advertisement

Table of Contents
loading

Table of Contents