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

    Function messagesPerHour

    • Returns how many transmissions of a payload fit in an hour under a duty-cycle limit.

      The airtime plus the silence it forces is what one transmission really costs, so this is the message budget a deployment plans against.

      Parameters

      • settings: lora.LoraLink

        The link settings.

      • payloadLength: number

        The payload length in bytes.

      • dutyCyclePermille: number

        The limit in parts per thousand, so 10 is 1%.

      Returns number

      The number of whole transmissions per hour, or 0 when the limit forbids transmitting.