Configure Scanner
Pre-Defined Menu Command Parameters
SetSymbPropWithWifi(connID, DEC_EAN8_ENABLED, 1); // Enable EAN-8
SetSymbPropWithWifi(connID, DEC_EAN8_CHECK_DIGIT_TRANSMIT, 1);
SetSymbPropWithWifi(connID, DEC_EAN8_2CHAR_ADDENDA_ENABLED, 0); // Disable
char addenda
SetSymbPropWithWifi(connID, DEC_CODE128_MIN_LENGTH, 5);
length of code 128 to be 5
// Retrieve the symbology property result in the callback function
void OnGetSymbProp(const SymbPropResponse &resp)
{
}
Trigger a Scan
Scan Asynchronously
DecodeAsyncWithWifi(connID); // Send scan command
// Retrieve the scan result in the callback function
void OnDecode(const DecodeResult_WiFi &decRes)
{
}
Cancel Scan
CancelDecodeWifi(connID); // Cancel scan
28
if(resp.successful)
OutputSymbProp(resp);
OutputDecodeResult(decRes);
// Set the minimum
8680i WiFi SDK User Guide
2