Downlink command to set the meter displays sorting order.
import * as setDisplayParam from 'jooby-codec/mtx3/commands/downlink/setDisplayParam.js';import {displayModes} from 'jooby-codec/mtx3/constants/index.js';const parameters = { displayMode: displayModes.MAIN_1, order: [4, 5, 6, 7]};const bytes = setDisplayParam.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[93, 5, 0, 4, 5, 6, 7] Copy
import * as setDisplayParam from 'jooby-codec/mtx3/commands/downlink/setDisplayParam.js';import {displayModes} from 'jooby-codec/mtx3/constants/index.js';const parameters = { displayMode: displayModes.MAIN_1, order: [4, 5, 6, 7]};const bytes = setDisplayParam.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[93, 5, 0, 4, 5, 6, 7]
Command format documentation
Downlink command to set the meter displays sorting order.
Example
Command format documentation