-
Notifications
You must be signed in to change notification settings - Fork 212
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
Setting pre-JOIN RX2 download for TTN #474
Comments
It should not be necessary (it is actually wrong) to set the For ABP using I think the confusion in the original issue is at which SF the join needs to happen. TTN let's you join at SF12 on one of 868.1, 868.3 or 868.5MHz - which is the LoRaWAN regional params for EU. During join the network needs to configure custom channels and custom datarates. It is therefore incorrect to configure the dn2dr before a join. |
I've come to the same conclusion. Also see this issue. It discusses the same question. And the conclusion is a commit that changes the data rate to SF12 (for join). |
Old comment for history, but... this is incorrect. I forked the current code and investigated. I came to the same conclusion: SF12 is used for
lorawan.Rx2DR = uint32(band.RX2DataRate)
|
Do you have any hard evidence that SF9 is used for JoinAccept in Europe? I just stumbled across this statement from Jac Kersing (re EU868):
Standard RX2 parameter is SF12. |
(Note that my comments are only relevant for EU868.) Yes, have a read through TheThingsArchive/ttn#767 and also note that I made a change to TTN's v2 code base - a change that is running in production since 15 October 2019. For OTAA:
For ABP:
|
Closing this as being mistaken. |
When using The Things Network in the EU868 region, you must set the pre-JOIN RX2 Data Rate to SF9 (DR4). It turns out not to be as simple as it should be. We need a better way of tailoring LMIC for pre-JOIN (and ABP) network parameters. The more that people have to modify
LMIC.*
datafields by direct assignment, the less flexibilty we have for correcting names that don't match the spec, etc. Even for ABP, we no more want people changingLMIC.dn2dr
directly than we want them changingLMIC.channels[]
directly@cyberman54 wrote:
Originally posted by @cyberman54 in #455 (comment)
The text was updated successfully, but these errors were encountered: