Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not able to scan correct data #26

Open
Durgaa-G opened this issue Mar 21, 2021 · 0 comments
Open

not able to scan correct data #26

Durgaa-G opened this issue Mar 21, 2021 · 0 comments

Comments

@Durgaa-G
Copy link

Hi,
I am trying with bellow settings. But every time it return "Received code is shorter than minimal length" as an error

onScan.attachTo(document, {
onScan: function(sCode, iQty) {
document.body.innerHTML +=('

onScan>>>> :'+ JSON.stringify(sCode)+'

');
},
onScanButtonLongPress: function() {
document.body.innerHTML += ('

onScanButtonLongPress :

');
},
onScanError: function(oDebug) {
document.body.innerHTML += ('

onScanError :'+JSON.stringify(oDebug) +'

');
},
onPaste: function(sPasted, oEvent) {
document.body.innerHTML += ('

onPaste :'+JSON.stringify(sPasted) +'-------'+JSON.stringify(oEvent)+'

');
}

});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant