Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

UpgradeManager.getUpgradableComponents returns an empty collection

Open danekpilar01 opened this issue 10 months ago • 3 comments

Hello, after I make sure the aircraft is connected, I try to check if the firmware is up to date. I figured that I should get that information from the UpgradeManger class. When i call the getUpgradableComponents, it always returns an empty list. What could be the reason?

Thank you in advance ;)

danekpilar01 avatar Apr 11 '24 12:04 danekpilar01

Agent comment from Hummels Lei in Zendesk ticket #104839:

May I inquire about the model of your aircraft? Additionally, please be advised that after the aircraft is connected, it is necessary to wait for each module to complete initialization before calling the getUpgradableComponents method immediately.

°°°

dji-dev avatar Apr 12 '24 07:04 dji-dev

It is Mavic 3 Enterprise.

danekpilar01 avatar Apr 17 '24 09:04 danekpilar01

Agent comment from Hummels Lei in Zendesk ticket #104839:

It is essential to wait for each module to finish initialization after the aircraft is connected before promptly invoking the getUpgradableComponents method, as mentioned earlier.

°°°

dji-dev avatar Apr 18 '24 03:04 dji-dev