You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/content/gateways/lora-basics-station/cups.md
+24-4Lines changed: 24 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,7 @@ weight: -1
8
8
9
9
<!--more-->
10
10
11
-
{{< note >}} CUPS is **not required** for sending and receiving LoRaWAN data, but it simplifies gateway management.
12
-
13
-
CUPS support in {{% tts %}} is in beta and is subject to change. {{</ note >}}
11
+
{{< note >}} CUPS is **not required** for sending and receiving LoRaWAN data, but it simplifies gateway management. CUPS support in {{% tts %}} is in beta and is subject to change. {{</ note >}}
14
12
15
13
{{< warning >}} Configuring CUPS automatically retrieves LNS credentials and configures LNS on your gateway. If you configure CUPS, your gateway will override LNS credentials in case of successful CUPS connection. {{</ warning >}}
16
14
@@ -33,15 +31,33 @@ CUPS requires an API key for your gateway with the following rights:
33
31
- Edit basic gateway settings
34
32
- Retrieve secrets associated with a gateway
35
33
34
+
{{< figure src="../cups-rights.png" alt="CUPS API Key Rights" >}}
35
+
36
36
LNS requires an API Key with the following rights:
37
37
38
38
- Link as Gateway to a Gateway Server for traffic exchange, i.e. write uplink and read downlink
39
39
40
+
{{< figure src="../lns-rights.png" alt="LNS API Key Rights" >}}
41
+
40
42
To create an API key for your gateway, follow instructions for Creating a Gateway API key in [Adding Gateways]({{< ref "/gateways/adding-gateways" >}}).
41
43
42
44
## Configure CUPS to Send the LNS API Key
43
45
44
-
{{% cli-only %}}
46
+
{{< tabs/container "Console" "CLI" >}}
47
+
48
+
{{< tabs/tab "Console" >}}
49
+
50
+
We need to configure CUPS in {{% tts %}} to transmit the LNS API key when a gateway connects. To do so in the Console, go to the **General Settings** page of your gateway.
51
+
52
+
In the **LoRa Basics Station LNS Authentication Key** field, paste the LNS API key you generated in the previous step.
53
+
54
+
{{< figure src="../lns-key.png" alt="LoRa Basics Station LNS Authentication Key" >}}
55
+
56
+
Press **Save Changes** to update the gateway settings. When your gateway connects to CUPS, {{% tts %}} will send the LNS configuration settings and API key.
57
+
58
+
{{</ tabs/tab >}}
59
+
60
+
{{< tabs/tab "CLI" >}}
45
61
46
62
We need to configure CUPS in {{% tts %}} to transmit the LNS API key when a gateway connects. Use the following command to do so, replacing `"your-gateway-id"` with your gateway ID in {{% tts %}} and `"your-lns-api-key"` with the LNS API key you created in the last step:
47
63
@@ -77,6 +93,10 @@ If successful, you should receive a response as follows:
77
93
```
78
94
</details>
79
95
96
+
{{</ tabs/tab >}}
97
+
98
+
{{</ tabs/container >}}
99
+
80
100
## Configure Gateway
81
101
82
102
All {{% lbs %}} gateways support the following configuration options. Consult your gateway documentation for more information about configuring your specific gateway.
Copy file name to clipboardExpand all lines: doc/content/gateways/lora-basics-station/lns.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,11 @@ To connect a gateway using the LNS protocol, you must first add the gateway in {
22
22
## Create an API Key
23
23
24
24
LNS requires an API Key with the following rights:
25
+
25
26
- Link as Gateway to a Gateway Server for traffic exchange, i.e. write uplink and read downlink
26
27
28
+
{{< figure src="../lns-rights.png" alt="LNS API Key Rights" >}}
29
+
27
30
To create an API key for your gateway, follow instructions for Creating a Gateway API key in [Adding Gateways]({{< ref "/gateways/adding-gateways" >}}).
0 commit comments