Downlink command to get device events by date.
Supported in MTX1 and MTX3 devices.
import * as getEvents from 'jooby-codec/mtx1/commands/downlink/getEvents.js';const parameters = { date: { year: 24, month: 2, date: 12 }, offset: 23};const bytes = getEvents.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[51, 4, 24, 2, 12, 23] Copy
import * as getEvents from 'jooby-codec/mtx1/commands/downlink/getEvents.js';const parameters = { date: { year: 24, month: 2, date: 12 }, offset: 23};const bytes = getEvents.toBytes(parameters);// command binary representationconsole.log(bytes);// output:[51, 4, 24, 2, 12, 23]
Command format documentation
Downlink command to get device events by date.
Supported in MTX1 and MTX3 devices.
Example
Command format documentation