BluetoothDeviceManager

class BluetoothDeviceManager(config: DeviceConfig, deviceCharacteristicLink: DeviceCharacteristicLink, context: Context) : BleManager

Class that encapsulates all bluetooth interaction with one device.

Constructors

Link copied to clipboard
constructor(config: DeviceConfig, deviceCharacteristicLink: DeviceCharacteristicLink, context: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
open fun close()
Link copied to clipboard
fun connect(@NonNull p0: BluetoothDevice): ConnectRequest
fun connect(@NonNull p0: BluetoothDevice, p1: Int): ConnectRequest
Link copied to clipboard
fun disconnect(): DisconnectRequest
Link copied to clipboard
@IntRange(from = -1, to = 100)
fun getBatteryValue(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getMinLogPriority(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun log(priority: Int, message: String)
open override fun log(p0: Int, @StringRes p1: Int, @Nullable vararg p2: Any)
Link copied to clipboard
open fun setGattCallbacks(@NonNull p0: BleManagerCallbacks)
Link copied to clipboard
fun useServer(@NonNull p0: BleServerManager)

Properties

Link copied to clipboard
Link copied to clipboard