Information about the current pulse counter readings from the sensor.
import * as current from 'jooby-codec/analog/commands/uplink/current.js';// simple response channelsconst bytes = [0x80, 0x00, 0x01, 0x56];// decoded payloadconst parameters = current.fromBytes(bytes);console.log(parameters);// output:{ isMagneticInfluence: true, value: 342} Copy
import * as current from 'jooby-codec/analog/commands/uplink/current.js';// simple response channelsconst bytes = [0x80, 0x00, 0x01, 0x56];// decoded payloadconst parameters = current.fromBytes(bytes);console.log(parameters);// output:{ isMagneticInfluence: true, value: 342}
Command format documentation
Information about the current pulse counter readings from the sensor.
Example: create command instance from command body hex dump
Command format documentation