get Upgrade State From Device
fun getUpgradeStateFromDevice(lifecycleOwner: LifecycleOwner, device: BleDevice?, updateInfoCallback: UpdateInfoCallback)
Retrieves the upgrade state from a Bluetooth device
Parameters
device
The target Bluetooth device
update Info Callback
The callback for handling the upgrade state retrieved from the device