tinyb icon indicating copy to clipboard operation
tinyb copied to clipboard

BluetoothEvent callbacks in Java

Open petreeftime opened this issue 8 years ago • 2 comments

Java API currently does not implement callbacks for BluetoothEvents.

petreeftime avatar Jun 01 '16 09:06 petreeftime

Will there be a BluetoothEvent for Device Disconnect?

youcangetme avatar Jun 13 '16 12:06 youcangetme

There will be one for when connected status changes: https://github.com/intel-iot-devkit/tinyb/commit/415dea7504a3ee58b76bc31f3b9ec9fe2e9381d2#diff-16bcd3d48f4412f8f516008ae7530ffaR79. You'll have to register a callback which will get called when connection status changes, but it will not be implemented as a BluetoothEvent.

petreeftime avatar Jun 13 '16 13:06 petreeftime