-
Notifications
You must be signed in to change notification settings - Fork 415
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
unable to initialize LoraWAN US915 band on SX1262 #814
Comments
You're right, this is indeed incorrect. The problem is that no off-the-shelf SX126x/7x devices can actually get to the 30 dBm called for in the LoRaWAN specification without external PA. I think this should be fixed by making the module initialize to the maximum power it can support and which is allowed in the band. However, even with that fix, you will run into a bigger problem in US915 band, which is that channels in this band are defined using CFlist mask, and not yet supported in RadioLib. LoRaWAN support is something I'm actively working on, and it's not ready yet. Also, it's going to be quite challenging for me to test, since the only gateway hardware I have is for the EU868 band. |
@mischief I fixed the original problem, but mask-type CFList remains unimplemented. I will keep this issue open until that changes - though of course, a pull request would be much appreciated (since again - I don't really have a way to test in US915 band). |
hi, thanks for your quick work. unfortunately i am totally a 👶 when it comes to Lora, so i have zero idea about how this is supposed to work and i don't think i can contribute much... but i would be happy to test anything if i can. |
@mischief so in the end I was able to convince my LoRaWAN gateway to work in the US915 band for testing purposes, and US915 band seems to be working now (in the latest commit). You might have to set |
Describe the bug
LoraWAN can't be configured on SX1262 with US915 band because of invalid power parameters.
A clear and concise description of what the bug is. When applicable, please include debug mode output.
To Reproduce
we range check power level at
RadioLib/src/modules/SX126x/SX1262.cpp
Line 85 in 3e8636b
RadioLib/src/protocols/LoRaWAN/LoRaWANBands.cpp
Line 86 in 3e8636b
Expected behavior
initialize LoraWAN
Screenshots
N/A
Additional info (please complete):
The text was updated successfully, but these errors were encountered: