Information about the current status of channels on the device.
import * as getChannelsStatus from 'jooby-codec/analog/commands/uplink/getChannelsStatus.js';const bytes = [0x1f, 0x32, 0x03, 0x02, 0x00, 0x01];// decoded payloadconst parameters = getChannelsStatus.fromBytes(bytes);console.log(parameters);// output:[{ type: 2, typeName: 'POWER_CHANNEL', channel: 0, status: { state: true }}] Copy
import * as getChannelsStatus from 'jooby-codec/analog/commands/uplink/getChannelsStatus.js';const bytes = [0x1f, 0x32, 0x03, 0x02, 0x00, 0x01];// decoded payloadconst parameters = getChannelsStatus.fromBytes(bytes);console.log(parameters);// output:[{ type: 2, typeName: 'POWER_CHANNEL', channel: 0, status: { state: true }}]
Command format documentation
Information about the current status of channels on the device.
Example: create command instance from command body hex dump
Command format documentation