com.yoctopuce.YoctoAPI
public class YFirmwareUpdate extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
_firmwarepath |
protected int |
_progress |
protected String |
_progress_msg |
protected String |
_serial |
protected byte[] |
_settings |
Constructor and Description |
---|
YFirmwareUpdate(String serial,
String path,
byte[] settings) |
Modifier and Type | Method and Description |
---|---|
int |
get_progress() |
String |
get_progressMessage()
Returns the last progress message of the firmware update process.
|
int |
startUpdate()
Start the firmware update process.
|
protected String _serial
protected byte[] _settings
protected String _firmwarepath
protected String _progress_msg
protected int _progress
public int get_progress() throws YAPI_Exception
YAPI_Exception
public String get_progressMessage()
public int startUpdate()
Copyright © 2014. All rights reserved.