Comments (6)
I must confess I haven't seen this problem but then I don't have much experience with devices in the field.
It doesn't make sense to me that the server would mark a join request as already seen if it hasn't received confirmation that the device that it received the join accept. The confirmation being a data frame encrypted with the new session keys.
I looked up that line in the L2 spec. They talk about "Join Request" as well as "Join Request frames". Are they the same thing?
I'll have a look at TTN and see if I can reproduce what you are seeing.
edit:
Just noticed an email from another user having the same problem.
from lora_device_lib.
You are right, the standard requires DevNonce to increment for each frame.
The "Technical Recommendations for Preventing State Synchronization Issues" lays out the reasons for why, and offers a workaround for the problem of running out of DevNonce increments.
from lora_device_lib.
Hi,
It's not just an issue with TTN network, you are right, this is a problem on my Chirpstack based gw on my table, and I saw this Join problem with a Loriot server too. My very similar workaround works for me on both gateways.
from lora_device_lib.
I've reproduced the problem in the integration test suite. This uses the Ruby wrapper and a headless ChirpStack instance.
I am expediting a fix based on frbehrens proof of concept.
from lora_device_lib.
I am expediting a fix based on frbehrens proof of concept.
Thanks! Please note, that I did not consider the random choice of devNonce.
from lora_device_lib.
With d443a90 the problem is fixed.
Thanks! I'll close the issue.
from lora_device_lib.
Related Issues (20)
- OTAA not recieving JoinAccept HOT 2
- Radio interrupt not raised when message received in SF11 and SF12 HOT 3
- Proposal to remove diagnostic events from ldl_mac_response_type HOT 2
- Proposal to refactor LDL_DEBUG, LDL_ERROR, and LDL_INFO HOT 3
- Maximum sleep time due to LDL_MAC_ticksUntilNextEvent() values HOT 7
- Simplify function timerDelta()
- Discussion: Better control of confirmed uplink messages from application HOT 4
- possible deprecated #define LDL_LITTLE_ENDIAN HOT 1
- preferred way to use DeviceTimeSync HOT 4
- Add a check for maximum message size on send HOT 2
- Not receiving Join Accept HOT 2
- LPTIM 16 bit ticker HOT 1
- ticksUntilNextEvent keeps returning UINT32_MAX HOT 2
- Lora modules driver
- I am having trouble importing this library to arduino?
- OTAA join-accept not being received HOT 2
- UplinkDwellTime not correctly applied on AU915 HOT 1
- Incorrect MIC generated LoRaWAN 1.1 retransmissions and command responses HOT 1
- Join timeout HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lora_device_lib.