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

    Class LoraPlanBuilder

    A channel plan under construction.

    Tables are indexed by position, so entries are pushed in data-rate order and a number the plan does not use is pushed as a Reserved data rate. What a region would share between directions is filled in by build.

    Index
    • Appends the next entry of the adaptive back-off chain.

      Pass no data rate at the slowest, which has nothing below it. A chain left empty steps down one data rate at a time.

      Parameters

      • Optionallower: number | null

      Returns void

    • Sets the Class B beacon and whether the plan limits dwell time.

      Parameters

      Returns void

    • Finishes the plan.

      Throws if the plan would answer a question wrongly, for example because an RX1 row is narrower than the plan's offsets allow, or because the second receive window listens at a data rate the plan does not define.

      Returns lora.LoraChannelPlan

    • Sets the transmit-power ladder.

      Parameters

      • defaultMaxEirpDbm: number
      • stepDb: number
      • maxIndex: number

      Returns void

    • Sets the receive windows.

      maxRx1Offset fixes how wide every RX1 row must be.

      Parameters

      • rx2FrequencyHz: number
      • rx2DataRate: number
      • maxRx1Offset: number

      Returns void

    • Appends the RX1 downlink data rates for the next uplink data rate.

      Every row must be as wide as the plan's highest RX1 offset allows.

      Parameters

      • offsets: number[]
      • OptionaldwellLimited: boolean | null

      Returns void

    • Adds a sub-band and the transmit limits inside it.

      A deployment on licensed spectrum gives its sub-band a duty cycle of 1000, which reports as unrestricted.

      Parameters

      Returns void