Closed m-pastuszek closed 7 months ago
It's not just the issue with underscore character, but also uppercase letters.
As I said, 4000_TRA_TRAILER02
returns 4000-tra-traileR02
string.
@m-pastuszek I try with this:
And it work:
For mine, it don't... Maybe it's related with scanner device. I've tested Zebra DS2278 and Inateck BCST-70.
If I change transmission speed to 16ms (from default 0ms), it reads correctly, but then it also causes that sometimes it overrides the output partially.
Please see attached video:
First scan with Zebra - output 4000-tra-traileR02
.
Second scan with BCST-70 (correct output).
Third and next scans also with BCST-70, but output is overrided.
Overriding issue: Maybe some buffer variable would be needed? Wrong output: Looks like that scanner gives too speed events and Android can't read it properly.
@m-pastuszek I should have solved the problem of scan with the new version, let me know if the problem persists
Describe the bug Scanned barcode data is incorrect, due to (I think) shift key issue. My barcode contains underscores
_
, but are read as-
. When I scan4000_TRA_TRAILER02
it returns4000-tra-traileR02
.To Reproduce Just scan the barcode code128
4000_TRA_TRAILER02
.Expected behavior Scanned
4000_TRA_TRAILER02
barcode should return the same data.Smartphone (please complete the following information):
Additional context Same scanned barcode in for example, notes app returns correct data, so I think that it may be an issue with reading keyevents. Tried with two different scanners and both returning incorrect data.