Uplink command to get the information about memory settings.
import * as getSettingsMemory from 'jooby-codec/obis-observer/commands/uplink/getSettingsMemory.js';// response to getSettingsMemoryconst bytes = [0x02, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x02, 0x03];// decoded payloadconst parameters = getSettingsMemory.fromBytes(bytes);console.log(parameters);// output:{ requestId: 2, settingsMemorySize: 10, offset: 2, data: [0, 1, 2, 3]} Copy
import * as getSettingsMemory from 'jooby-codec/obis-observer/commands/uplink/getSettingsMemory.js';// response to getSettingsMemoryconst bytes = [0x02, 0x00, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x00, 0x02, 0x00, 0x01, 0x02, 0x03];// decoded payloadconst parameters = getSettingsMemory.fromBytes(bytes);console.log(parameters);// output:{ requestId: 2, settingsMemorySize: 10, offset: 2, data: [0, 1, 2, 3]}
Command format documentation
Uplink command to get the information about memory settings.
Example: create command instance from command body hex dump
Command format documentation