DfuManagerImpl

public class DfuManagerImpl extends Object implements DfuManager

Concrete implementation ofDfuManager.

Constructors

DfuManagerImpl

public DfuManagerImpl(ConnectedJacquardTag tag)

Parameters

Name Description
ConnectedJacquardTag tag

Methods

applyUpdates

public Signal<FirmwareUpdateState> applyUpdates(List<DFUInfo> dfuInfos, boolean autoExecute)

Parameters

Name Description
List<DFUInfo> dfuInfos
boolean autoExecute

ReturnValue

Name Description
Signal<FirmwareUpdateState>

applyModuleUpdate

public Signal<FirmwareUpdateState> applyModuleUpdate(List<DFUInfo> dfuInfo)

Parameters

Name Description
List<DFUInfo> dfuInfo

ReturnValue

Name Description
Signal<FirmwareUpdateState>

checkFirmware

public Signal<List<DFUInfo>> checkFirmware(List<Component> components, String vid, String pid, boolean forceUpdate)

Parameters

Name Description
List<Component> components
String vid
String pid
boolean forceUpdate

ReturnValue

Name Description
Signal<List<DFUInfo>>

checkFirmware

public Signal<List<DFUInfo>> checkFirmware(List<Component> components, boolean forceUpdate)

Parameters

Name Description
List<Component> components
boolean forceUpdate

ReturnValue

Name Description
Signal<List<DFUInfo>>

checkModuleUpdate

public Signal<List<DFUInfo>> checkModuleUpdate(List<Module> modules, boolean forceUpdate)

Parameters

Name Description
List<Module> modules
boolean forceUpdate

ReturnValue

Name Description
Signal<List<DFUInfo>>

checkModuleUpdate

public Signal<List<DFUInfo>> checkModuleUpdate(boolean forceUpdate)

Parameters

Name Description
boolean forceUpdate

ReturnValue

Name Description
Signal<List<DFUInfo>>

executeUpdates

public void executeUpdates()

ReturnValue

Name Description
void

stop

public void stop()

ReturnValue

Name Description
void

getCurrentState

public Signal<FirmwareUpdateState> getCurrentState()

ReturnValue

Name Description
Signal<FirmwareUpdateState>