Package-level declarations

Types

Link copied to clipboard
class BluetoothButtonHandler(context: Context, scope: CoroutineScope)

This class will scan for bluetooth devices and connect to a specified device. Upon connection it will look for notification characteristics and if found listen for updates on those characteristics. This class is meant to support push to talk buttons so only notifications with a value of 0 or 1 will be processed. When a 0 or 1 is received a button state is emitted.