NordicSemiconductor / IOS-nRF-Connect-Device-Manager

A mobile management library for devices supporting nRF Connect Device Manager.
https://www.nordicsemi.com/Software-and-tools/Software/nRF-Connect-SDK
Apache License 2.0
91 stars 41 forks source link

Default mode seems to be CONFIRM_ONLY instead of TEST_AND_CONFIRM #206

Open wasnotrice opened 6 months ago

wasnotrice commented 6 months ago

I'm working on an app that uses this project as well as the Android counterpart, and I noticed that, when using the default settings, the order of states during firmware upgrade is different from one platform to the other.

It seems like the iOS default mode is not TEST_AND_CONFIRM as indicated (and recommended) in the README, but actually CONFIRM_ONLY.

I confirmed this emprically—if I set the Android mode to CONFIRM_ONLY, then Android behaves like the iOS default mode. If I set the iOS mode to TEST_AND_CONFIRM, then iOS behaves like the Android default mode.

Looks like the default mode is set here