Skip to content

App/Nwk FCntDown doing funny things after rejoin on console #7723

@StevenCellist

Description

@StevenCellist

Summary

When the console is open for a LoRaWAN v1.1 device and the device rejoins the network, the FCntDown entries do funny things. I haven't covered all possible situations, but the easiest is described in the Current results section.

Steps to Reproduce

  1. Get an active session for a LW v1.1 device with some network downlinks.
  2. Rejoin the device with the console open.
  3. Wait until the device is sent some new network downlinks.
  4. Observe the App/Nwk counters

Current Result

Active session with a bunch of uplinks and only some network downlinks with MAC commands:
Image

Then the device does a rejoin and starts sending uplinks, receiving network downlinks with MAC commands:
Image

Notice that the downlink of this new session is marked as an App downlink in the frame counter field.

Expected Result

The network counter should be cleared and the new NFcntDown value should be set there. AFcntDown should not appear.

Relevant Logs

URL

No response

Deployment

The Things Stack Community Edition

The Things Stack Version

3.34.3

Client Name and Version

Other Information

Once again very much thank you for all the work!

Proposed Fix

No response

Contributing

  • I can help by doing more research.
  • I can help by implementing a fix after the proposal above is approved.
  • I can help by testing the fix before it's released.

Validation

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions