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

    Function packageParseAll

    • Reads every command in one message.

      A command does not carry its own length, so a reader that meets one this build does not know cannot step over it. Reading stops there and returns what came before.

      Parameters

      • port: number

        Which package.

      • uplink: boolean

        Whether the frame carrying them traveled up.

      • bytes: Uint8Array

        The message.

      Returns LorawanPackageCommand[]

      The commands that were readable, in order.

      If the port names no package.