jooby-codec
    Preparing search index...

    Namespace getBatteryStatus

    Downlink command to request status information from the sensor battery.

    By default, the battery status is measured once per 24 hours. The state of the battery physically cannot change dramatically. Response to the request contains the latest measurement results. This is enough to monitor the battery condition.

    import * as getBatteryStatus from 'jooby-codec/analog/commands/downlink/getBatteryStatus.js';

    const bytes = getBatteryStatus.toBytes();
    // command binary representation
    console.log(bytes);
    // output:
    [31, 5, 0]

    Command format documentation

    Variables

    examples
    headerSize
    id
    name

    Functions

    fromBytes
    toBytes