Uplink command that correspond to the failed downlink command.
import * as errorResponse from 'jooby-codec/mtx3/commands/uplink/errorResponse.js';// default parametersconst bytes = [0x54, 0x91];// decoded payloadconst parameters = errorResponse.fromBytes(bytes);console.log(parameters);// output:{ commandId: 0x54, commandName: getHalfHourDemandVariExport, errorCode: 0x91, errorName: 'NO_DATA_FOR_DATE'} Copy
import * as errorResponse from 'jooby-codec/mtx3/commands/uplink/errorResponse.js';// default parametersconst bytes = [0x54, 0x91];// decoded payloadconst parameters = errorResponse.fromBytes(bytes);console.log(parameters);// output:{ commandId: 0x54, commandName: getHalfHourDemandVariExport, errorCode: 0x91, errorName: 'NO_DATA_FOR_DATE'}
Command format documentation
Uplink command that correspond to the failed downlink command.
Example: create command instance from command body hex dump
Command format documentation