jooby-codec
    Preparing search index...

    Namespace setLorawanActivationMethod

    Downlink command to set the Lorawan activation method OTAA or ABP.

    import * as setLorawanActivationMethod from 'jooby-codec/obis-observer/commands/downlink/setLorawanActivationMethod.js';

    const parameters = {
    requestId: 3,
    activationMethod: 1
    };
    const bytes = setLorawanActivationMethod.toBytes(parameters);

    // output command binary in hex representation
    console.log(bytes);
    // output
    [36, 2, 3, 1]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes