I have a bluetooth barcode scanner that supports bluetooth LE and I am trying to get the barcode information from it when one is scanned.
I can connect to it fine onServicesDiscovered gets called in my BluetoothGattCallback but I am not sure what to do from there.
With a classic bluetooth connection you would get a InputStream from a BluetoothSocket and you would just wait for the read() to give you data but I am not sure how it works with Bluetooth LE. I tried looping through the BluetoothGattCharacteristic's checking the property and if its a read property I call gatt.readCharacteristic(characteristic); but that just gives me useless information and that's even before I attempt to scan something.
So how do I get the barcode data from the scanner?
this is the scanner I have https://www.zebra.com/us/en/support-downloads/scanners/ultra-rugged-scanners/li3608-li3678.html