Sensor current time.
It's a mandatory confirmation to getTime2000 request. It is sent immediately after device power on. After it a device sends it periodically (once per 24 hours).
import * as time2000 from 'jooby-codec/analog/commands/uplink/time2000.js';// device time is 2023.04.03 14:01:17 GMTconst bytes = [0x4d, 0x2b, 0xbd, 0x98, 0xad];// decoded payloadconst parameters = time2000.fromBytes(bytes);console.log(parameters);// output:{sequenceNumber: 77, time2000: 733845677} Copy
import * as time2000 from 'jooby-codec/analog/commands/uplink/time2000.js';// device time is 2023.04.03 14:01:17 GMTconst bytes = [0x4d, 0x2b, 0xbd, 0x98, 0xad];// decoded payloadconst parameters = time2000.fromBytes(bytes);console.log(parameters);// output:{sequenceNumber: 77, time2000: 733845677}
Command format documentation
Sensor current time.
It's a mandatory confirmation to getTime2000 request. It is sent immediately after device power on. After it a device sends it periodically (once per 24 hours).
Example: create command instance from command body hex dump
Command format documentation