Hhpsendactioncommand; Hhpsendmessage - Hand Held Products 5080 User Manual

Decoded miniature image scan engines software development kit (sdk)
Hide thumbs Also See for 5080:
Table of Contents

Advertisement

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
Parameter
actionCmd
nVal

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
Parameter
puchMsg
nLen
bSendRaw
puchReply
nLenToRead
pnRetLen
5X80 Series Software Development Kit (SDK) User's Guide
hhpSendActionCommand (
HHP_ACTION actionCmd,
int nVal )
Description
One of the values of enum HHP_ACTION (HHP_AIMER_CMD, HHP_ILLUMINATION_CMD, or
HHP_BEEP_CMD).
HHP_ON/HHP_OFF for illumination or aimers
HHP_SINGLE_BEEP/HHP_DOUBLE_BEEP for beeper.
hhpSendMessage (
PBYTE
puchMsg,
int nLen,
BOOL
bSendRaw,
PBYTE
puchReply,
int nLenToRead,
PINTpnRetLen
)
Description
Command sent to the imager with or without command wrapper. If no wrapper, set bSendRaw to
TRUE.
Number of bytes to send (in puchMsg).
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.
Buffer to hold imager response. Can be NULL if no response required.
Number of bytes to read from imager in response. 0 if no response.
Pointer to number of bytes returned in pnRetLen. NULL if no response required.
2 - 9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

518053805x80 sdk

Table of Contents