Downlink command to set device operator parameters.
import * as setOperatorParameters from 'jooby-codec/mtx1/commands/downlink/setOperatorParameters.js';import CommandBinaryBuffer from 'jooby-codec/mtx1/utils/CommandBinaryBuffer.js';const parameters = CommandBinaryBuffer.getDefaultOperatorParameters();const bytes = setOperatorParameters.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[ 31, 74, 0, 4, 11, 40, 0, 2, 97, 96, 0, 1, 212, 192, 0, 0, 124, 56, 0, 0, 124, 56, 0, 0, 124, 56, 0, 0, 124, 56, 0, 30, 1, 127, 7, 128, 0, 49, 132, 0, 0, 3, 3, 0, 0, 0, 240, 15, 5, 5, 0, 1, 0, 5, 5, 55, 45, 0, 0, 0, 0, 0, 2, 0, 5, 5, 5, 1, 8, 56, 63, 255, 5, 5, 0, 24] Copy
import * as setOperatorParameters from 'jooby-codec/mtx1/commands/downlink/setOperatorParameters.js';import CommandBinaryBuffer from 'jooby-codec/mtx1/utils/CommandBinaryBuffer.js';const parameters = CommandBinaryBuffer.getDefaultOperatorParameters();const bytes = setOperatorParameters.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[ 31, 74, 0, 4, 11, 40, 0, 2, 97, 96, 0, 1, 212, 192, 0, 0, 124, 56, 0, 0, 124, 56, 0, 0, 124, 56, 0, 0, 124, 56, 0, 30, 1, 127, 7, 128, 0, 49, 132, 0, 0, 3, 3, 0, 0, 0, 240, 15, 5, 5, 0, 1, 0, 5, 5, 55, 45, 0, 0, 0, 0, 0, 2, 0, 5, 5, 5, 1, 8, 56, 63, 255, 5, 5, 0, 24]
Command format documentation
Downlink command to set device operator parameters.
Example
Command format documentation