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

Reading just parts of the barcode #15

Open
felipecaldas opened this issue Jul 24, 2017 · 2 comments
Open

Reading just parts of the barcode #15

felipecaldas opened this issue Jul 24, 2017 · 2 comments

Comments

@felipecaldas
Copy link

Hi,

I have a bluetooth barcode reader and have connected it to my app using Blue2Serial. When I scan it and read the message String from onBluetoothSerialRead(), not every time I get the whole number.

Suppose the bar code is "MN000012HA". Sometimes when I scan I get "MN". Sometimes "00012" and sometimes the right number.

Can anyone please help me with that? I have configured the barcode reader to SPP mode.

Thanks

Srinivas-Singadi pushed a commit to Srinivas-Singadi/Blue2Serial that referenced this issue Jan 30, 2018
@MacroYau
Copy link
Owner

MacroYau commented Feb 1, 2018

Sounds similar to #2. Does the same thing happen with other receivers (e.g., PC)?

@stefanoMancon
Copy link

I have a problem: I need to read a Byte array so, i get the message and i get the byte. my problem is that if the value (int sended in two byte)is upper than 127 i recive the byte with wrong value

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

3 participants