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

    Class SimulatedLoraChip

    A simulated SX126x or SX127x, which a LoraRadio drives with no radio attached.

    The program says what arrives on the air with hear, and reads back what the chip was tuned to and what it sent with tuning and sent. Nothing is timed: a transmission is done as soon as it starts, and a reception with a timeout ends at once when nothing is waiting.

    Index
    • Puts a frame on the air for the chip to receive the next time it listens, heard at a strength in dBm and a signal-to-noise ratio in dB. A payload past 255 bytes is cut to 255.

      Parameters

      • payload: Buffer
      • rssiDbm: number
      • snrDb: number

      Returns void

    • Puts a frame on the air whose CRC fails, which the chip reports and drops.

      Parameters

      • rssiDbm: number
      • snrDb: number

      Returns void