Command for retrieving absolute day values of channels.
import * as exAbsDayMc from 'jooby-codec/analog/commands/uplink/exAbsDayMc.js';// absolute day value for 2023.03.10 00:00:00 GMTconst bytes = [0x2e, 0x6a, 0x01, 0x83, 0xd6, 0x02];// decoded payloadconst parameters = exAbsDayMc.fromBytes(bytes);console.log(parameters);// output:{ startTime2000: 731721600, channelList: [ { pulseCoefficient: 100, index: 1, value: 342 } ]} Copy
import * as exAbsDayMc from 'jooby-codec/analog/commands/uplink/exAbsDayMc.js';// absolute day value for 2023.03.10 00:00:00 GMTconst bytes = [0x2e, 0x6a, 0x01, 0x83, 0xd6, 0x02];// decoded payloadconst parameters = exAbsDayMc.fromBytes(bytes);console.log(parameters);// output:{ startTime2000: 731721600, channelList: [ { pulseCoefficient: 100, index: 1, value: 342 } ]}
Command format documentation
Command for retrieving absolute day values of channels.
Example: create command instance from command body hex dump
Command format documentation