Uplink command is used for error indication by the OBIS observer.
import * as errorResponse from 'jooby-codec/obis-observer/commands/uplink/errorResponse.js';// error code - format errorconst bytes = [0x20, 0x03];// decoded payloadconst parameters = errorResponse.fromBytes(bytes);console.log(parameters);// output:{ requestId: 32, resultCode: 3} Copy
import * as errorResponse from 'jooby-codec/obis-observer/commands/uplink/errorResponse.js';// error code - format errorconst bytes = [0x20, 0x03];// decoded payloadconst parameters = errorResponse.fromBytes(bytes);console.log(parameters);// output:{ requestId: 32, resultCode: 3}
Command format documentation
Uplink command is used for error indication by the OBIS observer.
Example: create command instance from command body hex dump
Command format documentation