Socket ScanAPI Reference
14.21 Property kSktScanPropIdDataConfirmationDevice
This property acknowledges positively or negatively on decoded data. This property
is mostly used by the application when the ScanAPI Data Confirmation Mode has
been set to kSktScanDataConfirmationModeApp.
This property can be sent at any time by the application to make the device beep,
flash or rumble.
The value is a 32-bit value that can be defined using the following helper macro:
SKTDATACONFIRMATION. This macro accepts 4 parameters. The first one is
reserved and should be set to 0. The second one is the rumble and it can have the
following values:
Value
kSktScanDataConfirmationRumbleNone
kSktScanDataConfirmationRumbleGood
kSktScanDataConfirmationRumbleBad
The third parameter is used to define the beep and it could be one of the following
values:
Value
kSktScanDataConfirmationBeepNone
kSktScanDataConfirmationBeepGood
kSktScanDataConfirmationBeepBad
The last parameter is to define the LED behavior and it can have one of the following
values:
Value
kSktScanDataConfirmationLedNone
kSktScanDataConfirmationLedGreen
kSktScanDataConfirmationLedRed
NOTE:
© 2013 Socket Mobile, Inc.
Description
Don't rumble the device
Rumble the device to notify a good
action
Rumble the device to notify an incorrect
action.
Description
Don't make the device beep
Beep the device to indicate a good action.
This beep is configurable using the
kSktScanPropIdSoundConfigDevice
property with
kSktScanSoundActionTypeGoodScan as
parameter.
Beep the device to indicate an incorrect
action.
This beep is configurable using the
kSktScanPropIdSoundConfigDevice
property with
kSktScanSoundActionTypeBadScan as
parameter.
Description
Don't flash the LED
Flash the LED in green
Flash the LED in red
105/152
Need help?
Do you have a question about the ScanAPI and is the answer not in the manual?