Command to write the block of the new image to the device. This command is part of update procedure.
import * as writeImage from 'jooby-codec/analog/commands/downlink/writeImage.js';// response to writeImage downlink commandconst bytes = [0x00, 0x00, 0x00, 0x40, 0x01];// decoded payloadconst parameters = writeImage.fromBytes(bytes);console.log(parameters);// output:{offset: 64, status: 1} Copy
import * as writeImage from 'jooby-codec/analog/commands/downlink/writeImage.js';// response to writeImage downlink commandconst bytes = [0x00, 0x00, 0x00, 0x40, 0x01];// decoded payloadconst parameters = writeImage.fromBytes(bytes);console.log(parameters);// output:{offset: 64, status: 1}
Command format documentation
Command to write the block of the new image to the device. This command is part of update procedure.
Example
Command format documentation