You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! i was trying to make a BT connection with an specific device (it's some kind of a pressure checker or something like that, just a black box that sends a stream of bytes by bluetooth) and it wasn't connecting to the app. The error was that InputStream.read() was returning -1.
The cause of this is the UUID: I got the UUID of the device ( device.getUuids()[0].getUuid() ) and changed the creation of the socket on the method "connect()" and passed that UUID as a parameter. After that, it works.
Thanks fot the app!
The text was updated successfully, but these errors were encountered:
Hi! i was trying to make a BT connection with an specific device (it's some kind of a pressure checker or something like that, just a black box that sends a stream of bytes by bluetooth) and it wasn't connecting to the app. The error was that InputStream.read() was returning -1.
The cause of this is the UUID: I got the UUID of the device ( device.getUuids()[0].getUuid() ) and changed the creation of the socket on the method "connect()" and passed that UUID as a parameter. After that, it works.
Thanks fot the app!
The text was updated successfully, but these errors were encountered: