5X80 Series Software Development Kit (SDK) User’s Guide
2 - 9
hhpSendActionCommand
This command allows the application to modify some of the imager hardware states. The items that can be modified include
turning the illumination LEDs on/off, turning the aimer LEDs on/off, or causing the device’s beeper to beep/double beep.
Syntax
hhpSendActionCommand
(
HHP_ACTION actionCmd,
int nVal )
Parameter
Description
actionCmd
One of the values of enum HHP_ACTION (HHP_AIMER_CMD, HHP_ILLUMINATION_CMD, or
HHP_BEEP_CMD).
nVal
HHP_ON/HHP_OFF for illumination or aimers
HHP_SINGLE_BEEP/HHP_DOUBLE_BEEP for beeper.
hhpSendMessage
The SDK API provides access to almost all of the imager command set. hhpSendMessage allows applications to send menu
(imager) commands directly to the imager (both wrapped and unwrapped) and to receive the actual uninterpreted imager
response. This command allows a developer to send debug commands to the imager.
Syntax
hhpSendMessage
(
P
BYTE
puchMsg,
int nLen,
BOOL
bSendRaw,
P
BYTE
puchReply,
int nLenToRead,
PINTpnRetLen
)
Parameter
Description
puchMsg
Command sent to the imager with or without command wrapper. If no wrapper, set bSendRaw to
TRUE.
nLen
Number of bytes to send (in puchMsg).
bSendRaw
If TRUE, the SYN M CR command wrapper is NOT added to the command before sending it to the
imager. If FALSE, the command is sent withSYN M CR command wrapper.
puchReply
Buffer to hold imager response. Can be NULL if no response required.
nLenToRead
Number of bytes to read from imager in response. 0 if no response.
pnRetLen
Pointer to number of bytes returned in pnRetLen. NULL if no response required.
Summary of Contents for 5080
Page 6: ...iv 5X80 Series Software Development Kit SDK User s Guide ...
Page 14: ...1 8 5X80 Series Software Development Kit SDK User s Guide ...
Page 50: ...4 14 5X80 Series Software Development Kit SDK User s Guide ...
Page 60: ...6 8 5X80 Series Software Development Kit SDK User s Guide ...
Page 62: ...7 2 5X80 Series Software Development Kit SDK User s Guide ...
Page 63: ......