Uplink command to get season profile information for the given tariff table.
The corresponding downlink command: getSeasonProfile.
getSeasonProfile
Supported in MTX1 and MTX3 devices.
import * as getSeasonProfile from 'jooby-codec/mtx1/commands/uplink/getSeasonProfile.js';// simple responseconst bytes = [0x01, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00];// decoded payloadconst parameters = getSeasonProfile.fromBytes(bytes);console.log(parameters);// output:{ month: 1, date: 2, dayIndexes: [0, 1, 0, 1, 0, 1, 0]} Copy
import * as getSeasonProfile from 'jooby-codec/mtx1/commands/uplink/getSeasonProfile.js';// simple responseconst bytes = [0x01, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00];// decoded payloadconst parameters = getSeasonProfile.fromBytes(bytes);console.log(parameters);// output:{ month: 1, date: 2, dayIndexes: [0, 1, 0, 1, 0, 1, 0]}
Command format documentation
Uplink command to get season profile information for the given tariff table.
The corresponding downlink command:
getSeasonProfile
.Supported in MTX1 and MTX3 devices.
Example: create command instance from command body hex dump
Command format documentation