Uplink command to get the information about device uptime.
import * as getObserverUptime from 'jooby-codec/obis-observer/commands/uplink/getObserverUptime.js';// response to getObserverUptime downlink commandconst bytes = [ 0x07, 0x00, 0x00, 0x0f, 0xb0];// decoded payloadconst parameters = getObserverUptime.fromBytes(bytes);console.log(parameters);// output:{ requestId: 7, uptime: 4016} Copy
import * as getObserverUptime from 'jooby-codec/obis-observer/commands/uplink/getObserverUptime.js';// response to getObserverUptime downlink commandconst bytes = [ 0x07, 0x00, 0x00, 0x0f, 0xb0];// decoded payloadconst parameters = getObserverUptime.fromBytes(bytes);console.log(parameters);// output:{ requestId: 7, uptime: 4016}
Command format documentation
Uplink command to get the information about device uptime.
Example: create command instance from command body hex dump
Command format documentation