jooby-codec
    Preparing search index...

    Namespace getChannelsStatus

    Information about the current status of channels on the device.

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

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

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

    console.log(parameters);
    // output:
    [{
    type: 2,
    typeName: 'POWER_CHANNEL',
    channel: 0,
    status: {
    state: true
    }
    }]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes