![background image](http://html1.mh-extra.com/html/hand-held-products/5080/5080_user-manual_589690023.webp)
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.
Содержание 5080
Страница 1: ...Software Development Kit SDK for 5080 5180 and 5380 Decoded Miniature Image Scan Engines User s Guide ...
Страница 6: ...iv 5X80 Series Software Development Kit SDK User s Guide ...
Страница 14: ...1 8 5X80 Series Software Development Kit SDK User s Guide ...
Страница 50: ...4 14 5X80 Series Software Development Kit SDK User s Guide ...
Страница 60: ...6 8 5X80 Series Software Development Kit SDK User s Guide ...
Страница 62: ...7 2 5X80 Series Software Development Kit SDK User s Guide ...
Страница 63: ......
Страница 64: ... Hand Held Products Inc 700 Visions Drive P O Box 208 Skaneateles Falls NY 13153 0208 5X10 80SDK UG Rev C 9 07 ...