Downlink command to get the information about serial port settings.
import * as getSerialPort from 'jooby-codec/obis-observer/commands/downlink/getSerialPort.js';const parameters = {requestId: 7};const bytes = getSerialPort.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[7, 1, 7] Copy
import * as getSerialPort from 'jooby-codec/obis-observer/commands/downlink/getSerialPort.js';const parameters = {requestId: 7};const bytes = getSerialPort.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[7, 1, 7]
Command format documentation
Downlink command to get the information about serial port settings.
Example
Command format documentation