Closed busticated closed 4 years ago
Currently, the .enterDfuMode() method returns before the targeted device is known to be in DFU mode. This makes it hard to compose with other dependent operations like flashing - see https://github.com/particle-iot/particle-cli/pull/555
.enterDfuMode()
@sergeuz how much does it matter that the openDeviceById() (src) that we're calling here is different than the one exposed to the consumer (src)?
openDeviceById()
I'd say it doesn't matter as we never expose the reopened instance to the calling code of enterDfuMode().
enterDfuMode()
Currently, the
.enterDfuMode()
method returns before the targeted device is known to be in DFU mode. This makes it hard to compose with other dependent operations like flashing - see https://github.com/particle-iot/particle-cli/pull/555