Command to receive data frame from Ultrasound water meter.
import * as usWaterMeterCommand from 'jooby-codec/analog/commands/downlink/usWaterMeterCommand.js';// response to usWaterMeterCommand downlink commandconst bytes = [0x04, 0x04, 0x22, 0x35, 0x28];// decoded payloadconst parameters = usWaterMeterCommand.fromBytes(bytes);console.log(parameters);// output:{length: 4, data: [4, 34, 53, 40]} Copy
import * as usWaterMeterCommand from 'jooby-codec/analog/commands/downlink/usWaterMeterCommand.js';// response to usWaterMeterCommand downlink commandconst bytes = [0x04, 0x04, 0x22, 0x35, 0x28];// decoded payloadconst parameters = usWaterMeterCommand.fromBytes(bytes);console.log(parameters);// output:{length: 4, data: [4, 34, 53, 40]}
Command format documentation
Command to receive data frame from Ultrasound water meter.
Example
Command format documentation