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

    The network side of one site: what a server does with what a gateway forwarded.

    Index
    • Takes the devices relays have reported hearing and could not verify, TS011-1.0.1 section 10.7.

      A relay carries these in the MAC commands of its own uplinks, alongside whatever else that uplink was for, so they wait here until they are read.

      Returns gateway.Notice[]

    • Admits a device, so a join request signed with its key is accepted.

      Parameters

      • devEui: Buffer
      • appEui: Buffer
      • appKey: Buffer
      • Optionalversion: LorawanVersion | null

        the link layer revision the device follows, 1.0.4 unless given. A 1.0.3 device's frames are refused once their counter runs MAX_FCNT_GAP ahead of the last one accepted, which TS001-1.0.4 no longer asks.

      Returns void

    • Builds the command that tells a relay to trust a device, with the key that lets it verify the device's wake-on-radio frames, TS011-1.0.1 section 10.4.

      Parameters

      • devAddr: number
      • index: number
      • reloadRate: number
      • bucketSize: number

      Returns LorawanMacCommand