-
Notifications
You must be signed in to change notification settings - Fork 67
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
Document LoRa Basics Station CUPS forwarding #1225
Comments
@nejraselimovic: Please pick this up when you have time. |
Hey, I've been working on testing this, I'm using RAK2245 gw, trying to migrate from TTSS to TTC, and I have some questions:
|
As a general remark, CUPS itself deals with the LNS configuration - both the credentials (the API key in our case), and the address (the gateway server address) are provided to the gateway as part of CUPS, and the gateway updates them and stores them 'while doing CUPS'. In general when I configure a gateway using Basics Station I leave the LNS (i.e. TC) address and credentials empty, and provide only CUPS settings (the URL, and the API key). The gateway is then expected to retrieve the settings via CUPS. So yes, I believe the
There are two behaviors here:
A corollary of the above is that after you change the settings, some time will have to pass until the gateway disconnects, then upon connecting the new settings will be used and you can expect the packets to no longer be forwarded. |
Summary
We should document LoRa Basics Station CUPS forwarding - the why and the how.
Why do we need this ?
In order to show users how to redirect gateways to other Gateway Servers using CUPS. This is very relevant for the remote control of the gateway.
What is already there? What do you see now?
Generic description of CUPS and LNS.
What is missing? What do you want to see?
A new section for CUPS redirection.
How do you propose to document this?
Upon the next CUPS request, the gateway will reconnect from the old instance to the new instance. Normally a CUPS request is sent every 24 hours, but there is another way to speed this up:
v3.28.2
, changing the gateway server address will force the gateway to reconnect. This is not instant - it takes on average 10 minutes after the change occurred.I heavily recommend testing this between
staging1
and TTSC(E), with a gateway which is not a TTIG. Most gateways onstaging1
are CUPS enabled, so feel free to ask for details.Can you do this yourself and submit a Pull Request?
Can review.
The text was updated successfully, but these errors were encountered: