jooby-codec
    Preparing search index...

    Namespace getBuildVersion

    Uplink command to get firmware build date and version from device.

    The corresponding downlink command: getBuildVersion.

    Supported in MTX1 and MTX3 devices.

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

    // build version is 2021.09.16/0.0.9
    const bytes = [0x10, 0x09, 0x15, 0x00, 0x00, 0x09];

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

    console.log(parameters);
    // output:
    {
    date: {
    date: 16,
    month: 9,
    year: 21
    },
    version: '0.0.9'
    }

    Command format documentation

    Variables

    accessLevel
    examples
    headerSize
    id
    isLoraOnly
    maxSize
    name

    Functions

    fromBytes
    toBytes