getUpgradeStateFromDevice

fun getUpgradeStateFromDevice(lifecycleOwner: LifecycleOwner, device: BleDevice?, updateInfoCallback: UpdateInfoCallback)

Retrieves the upgrade state from a Bluetooth device

Parameters

device

The target Bluetooth device

updateInfoCallback

The callback for handling the upgrade state retrieved from the device