jooby-codec
    Preparing search index...

    Namespace getDeviceId

    Uplink command to get device identifier.

    The corresponding downlink command: getDeviceId.

    Supported in MTX1 and MTX3 devices.

    import * as getDeviceId from 'jooby-codec/mtx1/commands/uplink/getDeviceId.js';

    // response to getDeviceId downlink command
    const bytes = [0x00, 0x1a, 0x79, 0x17, 0x14, 0x1b, 0x1d, 0x6a];

    // decoded payload
    const parameters = getDeviceId.fromBytes(bytes);

    console.log(parameters);
    // output:
    {
    manufacturer: '001a79',
    type: 23,
    year: 20,
    serial: '1b1d6a'
    }

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes