Uplink command to get device identifier.
The corresponding downlink command: getDeviceId.
getDeviceId
Supported in MTX1 and MTX3 devices.
import * as getDeviceId from 'jooby-codec/mtx1/commands/uplink/getDeviceId.js';// response to getDeviceId downlink commandconst bytes = [0x00, 0x1a, 0x79, 0x17, 0x14, 0x1b, 0x1d, 0x6a];// decoded payloadconst parameters = getDeviceId.fromBytes(bytes);console.log(parameters);// output:{ manufacturer: '001a79', type: 23, year: 20, serial: '1b1d6a'} Copy
import * as getDeviceId from 'jooby-codec/mtx1/commands/uplink/getDeviceId.js';// response to getDeviceId downlink commandconst bytes = [0x00, 0x1a, 0x79, 0x17, 0x14, 0x1b, 0x1d, 0x6a];// decoded payloadconst parameters = getDeviceId.fromBytes(bytes);console.log(parameters);// output:{ manufacturer: '001a79', type: 23, year: 20, serial: '1b1d6a'}
Command format documentation
Uplink command to get device identifier.
The corresponding downlink command:
getDeviceId
.Supported in MTX1 and MTX3 devices.
Example: create command instance from command body hex dump
Command format documentation