Downlink command to get the meter id by the meter address.
import * as getMeterId from 'jooby-codec/obis-observer/commands/downlink/getMeterId.js';const parameters = { requestId: 0, address: 'ma2375'};const bytes = getMeterId.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[118, 8, 0, 6, 109, 97, 50, 51, 55, 53] Copy
import * as getMeterId from 'jooby-codec/obis-observer/commands/downlink/getMeterId.js';const parameters = { requestId: 0, address: 'ma2375'};const bytes = getMeterId.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[118, 8, 0, 6, 109, 97, 50, 51, 55, 53]
Command format documentation
Downlink command to get the meter id by the meter address.
Example
Command format documentation