public interface IFirmwareProgrammer
IFirmwareProgrammer
interface when it wants to be able to do program a new
firmware.Modifier and Type | Method and Description |
---|---|
void |
finish()
Finishes the firmware update procedure.
|
void |
initialize()
Initialize a firmware update procedure.
|
void |
reset()
Reset the firmware.
|
void |
write(byte[] data,
int offset,
int length)
Writes a chunk of firmware data as part of the firmware update.
|
void initialize() throws java.io.IOException
java.io.IOException
- If I/O error occurredvoid write(byte[] data, int offset, int length) throws java.io.IOException
data
- firmware data chunkoffset
- offset in the arraylength
- number of bytes to writejava.io.IOException
- If I/O error occurredvoid finish() throws java.io.IOException
java.io.IOException
- If I/O error occurredvoid reset() throws java.io.IOException
java.io.IOException
- If I/O error occurred