Skip to content

Uplink unconfirmed frames should be transmitted "NbTrans" times? #110

@JacoTuks

Description

@JacoTuks

Expected Behavior

Uplink unconfirmed frames should be transmitted "NbTrans" times except if a valid downlink is received following one of the transmissions.

LoRaWAN specification 1.1 states on page 21 in lines 595 and 596 that this is the expected behaviour.

Actual Behavior

Uplink unconfirmed frames are only transmitted once even in NbTrans is > 1.

EndDeviceLorawanMac::DoSend() does save confirmed uplink messages and will resend those.

Am I misinterpreting the specification or misreading the code?

Steps to Reproduce the Problem

  1. Enable logging of EndDeviceLorawanMac
  2. Run sim with unconfirmed only traffic
  3. Note that no "Retransmitting an old packet." will be in the output

Specifications

  • ns-3 version: 3.30
  • lorawan module version: latest (4 May 2021 159cc5e)
  • Platform: Ubuntu 20.04.02
  • Compiler:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions