This command retrieves absolute current measurements from multiple channels.
import * as exAbsCurrentMc from 'jooby-codec/analog/commands/uplink/exAbsCurrentMc.js';// absolute current value from channel 3const bytes = [0x04, 0x83, 0xd6, 0x02];// decoded payloadconst parameters = exAbsCurrentMc.fromBytes(bytes);console.log(parameters);// output:{ channelList: [ { pulseCoefficient: 100, index: 3, value: 342 } ]} Copy
import * as exAbsCurrentMc from 'jooby-codec/analog/commands/uplink/exAbsCurrentMc.js';// absolute current value from channel 3const bytes = [0x04, 0x83, 0xd6, 0x02];// decoded payloadconst parameters = exAbsCurrentMc.fromBytes(bytes);console.log(parameters);// output:{ channelList: [ { pulseCoefficient: 100, index: 3, value: 342 } ]}
Command format documentation
This command retrieves absolute current measurements from multiple channels.
Example
Command format documentation