Blue2Serial
Blue2Serial copied to clipboard
Reading just parts of the barcode
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
Sounds similar to #2. Does the same thing happen with other receivers (e.g., PC)?
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