![background image](http://html1.mh-extra.com/html/hand-held-products/5080/5080_user-manual_589690026.webp)
2 - 12
5X80 Series Software Development Kit (SDK) User’s Guide
hTransferNotifyHwnd
Handle to the window that is to receive the transfer update messages. The message is sent
when the percentage changes by more than 1%. The window associated with the handle should
hook the WM_HHP_PROGRESS_HWND_MSG message.
After file transfer is complete and while the imager is storing the new code in flash, the message
WM_HHP_IMAGER_FLASHING is sent to the window HWND (if valid). The parameters are:
WPARAM - Bytes transferred so far
LPARAM - Bytes to be sent
The window should also hook the WM_HHP_IMAGER_FLASHING message. The parameters
sent are:
1st Call wParam=1 lParam=0 ransfer is done and flashing has begun
Subsequent wParam=x lParam=1 Where x toggles between 0 and 1 every ½ second
Final Call wParam=0 lParam=0 Flashing is complete
hhpWriteConfigItem
Writes the configuration items for one or all of the configuration structures found in the main 5X80 SDK configuration structure
HHP_CONFIG. Individual items can be specified by adding the appropriate mask bit by ORing it with the dwMask member of
the structure. Only items whose bits are set are written; all other items are ignored.
Syntax
hhpWriteConfigItem
(
ConfigItems_t item,
PVOID
pStruct
)
Parameter
Description
item
One of the members of the enumerated type ConfigItems_t. The valid values are:
BEEPER_CONFIG
Writes the HHP_BEEPER structure settings specified by the dwMask
value to the imager.
TRIGGER_CONFIG
Writes the HHP_TRIGGER structure settings specified by the dwMask
value to the imager.
DECODER_CONFIG
Writes the HHP_DECODER_CONFIG structure settings specified by the
dwMask value to the imager.
POWER_CONFIG
Writes the HHP_POWER_SETTINGS structure settings specified by the
dwMask value to the imager.
VERSION_INFO
Returns the SDK, imager firmware, and imager boot code versions.
SYMBOLOGY_CONFIG Writes the HHP_SYM_CONFIG individual structure symbology settings
specified by each structure's dwMask value to the imager.
SERIAL_PORT_CONFIG Writes the HHP_SERIAL_PORT_CONFIG structure settings specified by
the dwMask value to the imager. Connection to the imager is maintaned.
IMAGE_ACQUISITION
Writes the HHP_IMAGE_ACQUISITION structure settings specified by
the dwMask value to the imager.
IMAGE_TRANSFER
Writes the HHP_IMAGE_TRANSFER structure settings specified by the
dwMask value to the imager (not progress notification methods).
SEQUENCE_CONFIG
Returns the sequence mode enable/disable state and the data sequence
command string.
ALL_CONFIG
Writes the members specified in each of the structures of HHP_CONFIG.
This includes all of the above except SERIAL_PORT_CONFIG.
pStruct
Pointer to the appropriate structure based on item:
HHP_BEEPER
HHP_TRIGGER
HHP_DECODER_CONFIG
HHP_POWER_SETTINGS
HHP_SYM_CONFIG
Содержание 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 ...