jooby-codec
    Preparing search index...

    Namespace getChannelsTypes

    Information about the current channel types on the device.

    import * as getChannelsTypes from 'jooby-codec/analog/commands/uplink/getChannelsTypes.js';

    const bytes = [0x1f, 0x33, 0x03, 0x02, 0x00, 0x01];

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

    console.log(parameters);
    // output:
    [1, 2, 3, 0]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes