Uplink command to get device operator parameters.
The corresponding downlink command: getOperatorParameters.
getOperatorParameters
import * as getOperatorParameters from 'jooby-codec/mtx3/commands/uplink/getOperatorParameters.js';import CommandBinaryBuffer from 'jooby-codec/mtx3/utils/CommandBinaryBuffer.js';// get default operator parameters responseconst bytes = [ 0x1e, 0x5f, 0x00, 0x04, 0x0b, 0x28, 0x00, 0x02, 0x61, 0x60, 0x00, 0x01, 0xd4, 0xc0, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x1e, 0x01, 0x7f, 0x07, 0x00, 0x00, 0x10, 0x85, 0x00, 0x02, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x44, 0x1e, 0x1e, 0x03, 0x00, 0x05, 0x37, 0x2d, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x05, 0x05, 0x05, 0x01, 0x80, 0x06, 0x00, 0x00];// decoded payloadconst parameters = getOperatorParameters.fromBytes(bytes);console.log(parameters);// output:// same as CommandBinaryBuffer.getDefaultOperatorParameters() Copy
import * as getOperatorParameters from 'jooby-codec/mtx3/commands/uplink/getOperatorParameters.js';import CommandBinaryBuffer from 'jooby-codec/mtx3/utils/CommandBinaryBuffer.js';// get default operator parameters responseconst bytes = [ 0x1e, 0x5f, 0x00, 0x04, 0x0b, 0x28, 0x00, 0x02, 0x61, 0x60, 0x00, 0x01, 0xd4, 0xc0, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x00, 0x00, 0x7c, 0x38, 0x1e, 0x01, 0x7f, 0x07, 0x00, 0x00, 0x10, 0x85, 0x00, 0x02, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x44, 0x1e, 0x1e, 0x03, 0x00, 0x05, 0x37, 0x2d, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x05, 0x05, 0x05, 0x01, 0x80, 0x06, 0x00, 0x00];// decoded payloadconst parameters = getOperatorParameters.fromBytes(bytes);console.log(parameters);// output:// same as CommandBinaryBuffer.getDefaultOperatorParameters()
Command format documentation
Uplink command to get device operator parameters.
The corresponding downlink command:
getOperatorParameters
.Example: create command instance from command body hex dump
Command format documentation