-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
AU915 frequency #18
Comments
Hi @shinukamo , |
Thanks @facchinm I'm using firmware 1.1.9 with the MKRWAN library |
I do believe the AU915 is definitely not behaving properly when used fro the MKRWAN library. There seems to be no way to set the frequency sub-band anywhere? Unless I am missing something. In Australia, TTN gateways are generally set to use FSB2. Using the MKRWAN library on MKR WAN 1310 will eventually do an OTAA join, but only after quite a number of retries. Also, any data send is extremely unreliable. |
I have the same problem. Joining over OTAA fails 80% of the times I try to join. How could this problem be fixed? |
Hi @aalbinati , could you please test this arduino-libraries/MKRWAN#90 PR (after flashing fw 1.2.3 using MKRWAN_firmwareupdate_standlone sketch) ? It should allow a greater granularity when setting up the channels in use, fixing the gateway "avaliable bands" problem |
@aalbinati, thanks for letting us know it's working. Unfortunately, I can't get it to connect. Seems to be it's timing out (getting
I'm using the example file The MKRWAN1310 firmware is 1.2.3. Regards, Lachlan |
Hi @ElectronicallyE ,
If you are still having issues just let me know! |
btw @facchinm, I think we could already mark this issue as solved! |
Thanks @aalbinati. The code works in V2 of The Things Network Console. Switching over to V3, I can't get it to work, which is what I was using for testing before. I've put a post on TTN Forum regarding this issue (https://www.thethingsnetwork.org/forum/t/mkr-wan-1310-wont-connect-to-the-things-stack-v3-drop-join-request-au915/46884). Mind taking a look? Lachlan |
Alright but that's not because of a failed join request but because of a misconfiguration in the TTN settings. I use a custom Chirpstack server and not TTN so I might not be able to help you here. Only note is that the MKR 1310 uses 1.0.2 rev B not A. |
@aalbinati, just tested and working successfully after changing to 1.0.2 rev B. Thanks! Seems that ADR also works, ( For future reference, where did you find the info which states the supported LoRaWAN and regional parameter versions? |
@aalbinati I'd wait until the new channel mask functions are properly documented to close the issue but yes, it's solved 🙂 |
@ElectronicallyE glad to hear it now works. The regional parameter version is hidden somewhere in the code I cannot seem to find it right now. Maybe it would be nice to clarify it in the readme.md file. |
Hey @aalbinati, I'm trying to make sense of As far as I understand, the 24 hexadecimal characters (90 bits) are separated into blocks of 4 characters (16 bits), so |
Hi @ElectronicallyE, First of all, AU915 FSB 2 are channels 8-15 plus 500kHz channel 65, all of them are uplink channels and your device will use one of those to send the join request if you correctly configured the channel mask. Those numbers you see are the hexadecimal representations of binary numbers that indicate which channel to turn on (1) and which one to turn off (0). I'll post my code here for you to look at it: Gist Btw, explaining my code made me find an error in the channel mask, I was also enabling channel 16 by mistake. So thanks for making me double check it. One out of 10 tries was going to fail. I hope I was clear enough ;) |
Thanks for the explanation. Makes sense. Apologies for the confusion regarding channels. I was referring to channel 0 as channel 1 (source). For others, note: |
You are right! |
(Quick question): If I read this correctly, why are channels 47,46,45,44 (f0 00) and channels 48-63 (ff ff) enabled? (Other bitmask settings agree with Channels 8 to 15 plus 65.) Ref: https://lora-alliance.org/wp-content/uploads/2020/11/RP_2-1.0.2.pdf (Sec 282, Line 934) |
Using aalbinati's channel mask code, try disabling all channels and printing the channel mask. You'll see the output is not all 0s. Let me know if that’s what you’re experiencing or if you have another issue. |
Hi @PaulSchulz @ElectronicallyE, that's the mask that get's printed when using the commands for enabling and disabling channels individually. If you think the mask is not correct by reading it then there should be an error in the mask setting function. Do you think you can review that? Thanks |
Has anyone had any issues with receiving downlink messages with their mkr1300? I have tried setting the mask to both |
Have you checked the RX1 and Rx2 delay windows? I had issues with the MKR1300 on downlinks too, and I realised it was not correctly obtaining Rx1 and Rx2 on subsequent joins. Manually setting these delays to the correct values from TTN tended to fix it I think.. |
When using joinOTAA() with band set to AU915, my nodes send join requests on frequencies between 902 and 928. My gateway is (correctly, I think) ignoring messages sent on frequencies outside of 915 to 928.
This is seriously tanking the reliability of my project. Is there a way to fix this in the firmware? Or is it a hardware problem?
The text was updated successfully, but these errors were encountered: