Replies: 8 comments 4 replies
-
Hi, There is unfortunately no way to check for a gateway in range -- the best you could do is to look at the gateways placement on the TTN community pages. Now I don't think you would get If you use the command line tool, use the |
Beta Was this translation helpful? Give feedback.
-
Hi - I was running through the V2 example
The error appears on lora.join_otaa() - from both this script and command line. I can get the dev_eui and eversion from the rak811 interface so I know that it is speaking to the PI. I'm trying to work out whether the problem is with my TTN credentials or whether the rak811 is unable to connect to a LoraWan network for some other reason. |
Beta Was this translation helpful? Give feedback.
-
If it was a connection issue, you would get a join failed or a timeout. Invalid argument on the join command is really strange as the join doesn't take any argument other than the join mode (otaa). I suspect that a saved parameter is not compatible with OTAA or the module is in a wrong mode... You might want to trace the dialog with the module; adding the following at the top of the script: import logging
logging.basicConfig(level=logging.DEBUG) Can you also provide the exact version of your firmware?
|
Beta Was this translation helpful? Give feedback.
-
Just to be sure, did you redacted the I'll reinstall a V2 module over the week-end to try to reproduce... |
Beta Was this translation helpful? Give feedback.
-
Ah! This is the issue -- the module won't work without a proper You can retrieve the For the device eui of the module you can get it with Edit: actually this has been changed in TTN V3 -- I have my app eui as I migrated these from legacy TTN. Need to investigate that. |
Beta Was this translation helpful? Give feedback.
-
From this post, using |
Beta Was this translation helpful? Give feedback.
-
HI - I followed the suggestion in the post but it did not work. However, thanks to you digging out the post explaining you can't use all zeros (despite instructions in TTN setup) I tried with 0100000000000009 and it's now connecting. Thanks for helping with this - I was totally banging my head against a wall. |
Beta Was this translation helpful? Give feedback.
-
It is indeed confusing. The AppEUI (aka JoinEUI) should be provided by the device manufacturer (for commercial devices) or can be set to 0x00 for development purpose. Unfortunately, the RAK module doesn't support AppEUI set to 0x00, and there is nothing I can do about this -- this is a RAK issue... Using a random AppEUI will work most of the time, although it is not entirely legit as it might conflict with an existing officially assigned EUI. For more confusion you can read this post (and its reply) 🤷 |
Beta Was this translation helpful? Give feedback.
-
Hi - I am trying to connect to TTN as per your README but keep getting RAK811 response error -1: Invalid argument.
Is there anyway to check if my device can see/ping a nearby gateway - just so I can rule this out as the source of the issue.
Beta Was this translation helpful? Give feedback.
All reactions