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 = [0x07, 0x22, 0x18, 0xc0, 0x5d, 0x20, 0x4e];// decoded payloadconst parameters = usWaterMeterCommand.fromBytes(bytes);console.log(parameters);// output:{data: [7, 34, 24, 192, 93, 32, 78]} Copy
import * as usWaterMeterCommand from 'jooby-codec/analog/commands/downlink/usWaterMeterCommand.js';// response to usWaterMeterCommand downlink commandconst bytes = [0x07, 0x22, 0x18, 0xc0, 0x5d, 0x20, 0x4e];// decoded payloadconst parameters = usWaterMeterCommand.fromBytes(bytes);console.log(parameters);// output:{data: [7, 34, 24, 192, 93, 32, 78]}
Command format documentation
Command to receive data frame from Ultrasound water meter.
Example
Command format documentation