Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should the examples be updated to deal with expired sessions #273

Open
gonzalocasas opened this issue Feb 17, 2021 · 1 comment
Open

Should the examples be updated to deal with expired sessions #273

gonzalocasas opened this issue Feb 17, 2021 · 1 comment

Comments

@gonzalocasas
Copy link

As far I can see, the example code only tries to join on setup() but if the session expires (i.e. as in the case of the V2->V3 migration), the node would not be able to realize and would keep sending messages that don't arrive anywhere.

@jpmeijers
Copy link
Collaborator

Yes we indeed have a problem here. I was hoping that the RN2483 had LinkCheck enabled by default, but apparently not:
image

In other stacks like LMiC the examples also disabled LinkCheck, and it was up to the user to enable ADR and LinkCheck:
https://github.com/matthijskooijman/arduino-lmic/blob/master/examples/ttn-otaa/ttn-otaa.ino#L93

This is therefore a wider topic than just the arduino device lib.

Personally I have many devices out in the field using LMiC, but I believe I enabled LinkCheck and ADR on them. And hopefully that will cause a re-join.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants