onEnablingDfuMode

open fun onEnablingDfuMode(@NonNull deviceAddress: String)

Method called when the service discovered that the DFU target is in the application mode and must be switched to DFU mode. The switch command will be sent and the DFU process should start again. There will be no onDeviceDisconnected event following this call.

Parameters

deviceAddress

the target device address.