NordicSemiconductor / Android-DFU-Library

Device Firmware Update library and Android app
http://www.nordicsemi.com/dfu
BSD 3-Clause "New" or "Revised" License
753 stars 263 forks source link

Application stuck after Discovering services. #429

Open xiaozhao1995 opened 6 months ago

xiaozhao1995 commented 6 months ago

Where do you suspect the issue?

Issue in DFU library, e.g. upload stops in the middle

Version

2.3.x

Describe the issue

When I do a device upgrade(Dfu SDK 2.3.2),The log stops after printing the ”Discovering services...“ "gatt.discoverServices()"

DfuBaseService#onConnectionStateChange Should we do a 100ms delay before discovering service?

Relevant log output

No response

philips77 commented 6 months ago

Hello, What phone are you testing on? We used to have some delays in multiple places, but they were not required on phones that we test on anymore.

xiaozhao1995 commented 6 months ago

It's Redmi 8A