Closed schnabler closed 7 years ago
@schnabler : you must have a suffix (post-amble) appended to your decoded data. The suffix is stored in the scanner, most of the time it's a carriage return. Using the scanner with the SDK there is not really a use of having a suffix configured in the scanner. You can change this suffix by using the Postamble API from ScanAPI SDK or by using the ScannerSettings app.
@Eric-Glaenzer: Thanks a lot, that helped. Are you planning to make the source code of the ScannerSettings app available for registered developers? This would help tremendously with understanding how to set up the scanner. Thanks.
Sorry for my very late reply. Good suggestion. Definitively something I would like us to do... It was available as Sample app in the very early version of the SDK, we decided to take it off from the SDK because of the amount of code and API calls which really didn't help a developer who wants just to get the decoded data into an app.
When trying to get a the length of a
decodedData
-object inonDecodedDataResult(_ result: Int, device: DeviceInfo!, decodedData: ISktScanDecodedData!)
ofScanApiHelperDelegate
, the length returned in always the length of my scanned code + 1.Is this a bug in the SDK? Thanks.
ScanApiSDK-10 Swift 3.0