pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class LorawanFirmware

    The firmware management package running on a device, TS006-1.0.0.

    Index
    • Starts the package, reporting the versions the device was built with.

      Parameters

      • firmware: number
      • hardware: number

      Returns LorawanFirmware

    • get nextVersion(): number | null

      What the device would boot into, for an image it can install.

      Returns number | null

    • get rebootAtS(): number | null

      The moment the device is to reboot, where one was set as a time.

      Returns number | null

    • get rebootInS(): number | null

      How long until it reboots, where one was set as a countdown.

      Returns number | null

    • get rebootNow(): boolean

      Whether the device was told to reboot at once.

      Returns boolean

    • Reads a downlink on the firmware port and writes the answers it calls for.

      nowS is what the device believes the time is, in seconds since the GPS epoch; a device that does not know refuses a reboot set for a moment in time.

      Parameters

      • payload: Buffer
      • OptionalnowS: number | null

      Returns Buffer

    • Forgets the programmed reboot, for a device that has carried it out.

      Returns void