Downlink command to setup the meter profile.
import * as setupMeterProfile from 'jooby-codec/obis-observer/commands/downlink/setupMeterProfile.js';const parameters = { requestId: 68, meterProfileId: 8, archive1Period: 2880, archive2Period: 30};const bytes = setupMeterProfile.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[96, 6, 68, 8, 11, 40, 0, 30] Copy
import * as setupMeterProfile from 'jooby-codec/obis-observer/commands/downlink/setupMeterProfile.js';const parameters = { requestId: 68, meterProfileId: 8, archive1Period: 2880, archive2Period: 30};const bytes = setupMeterProfile.toBytes(parameters);// output command binary in hex representationconsole.log(bytes);// output[96, 6, 68, 8, 11, 40, 0, 30]
Command format documentation
Downlink command to setup the meter profile.
Example
Command format documentation