Wiki source code of Notes for LORIOT

Version 77.1 by Kilight Cao on 2023/11/01 17:02

Show last authors
1 (% class="wikigeneratedid" %)
2 **~ Table of Contents:**
3
4 {{toc/}}
5
6
7
8
9 = 1. Introduction =
10
11
12 (((
13 (((
14 The Dragino LoRaWAN gateway can communicate with [[LORIOT>>url:https://www.loriot.io/]] LoRaWAN Network Server:
15 )))
16 )))
17
18 (((
19 (((
20 Below list the products and requirements that support communication with LORIOT using Semtech UDP:
21 )))
22 )))
23
24 (((
25 (((
26 ~1. LoRaWAN Gateway model: [[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]],[[LPS8N>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]],[[LG308N>>https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]]
27
28 (((
29 (((
30 2. Firmware version since : [[lgw~~-~~-build-v5.4.1661158991-20220822-1704>>https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]
31
32
33 )))
34 )))
35 )))
36 )))
37
38 = 2. Gateway Registration for Semtech UDP =
39
40 == 2.1 Step 1: Get Gateway ETH0 MAC Address ==
41
42
43 Dragino LoRaWAN gateway uses ETH0 MAC address to generate Gateway EUI to communicate with LORIOT, The user needs to find the ETH0 MAC in the "(% style="color:blue" %)**System -> System Overview**" (%%)menu.
44
45
46 [[image:image-20220831110558-1.png||height="595" width="909"]]
47
48
49 == 2.2 Step 2: Register Gateway ==
50
51
52 [[image:image-20220831111032-2.png||height="617" width="1263"]]
53
54
55 (% style="color:blue" %)**Choose gateway model**
56
57 [[image:image-20220831111132-3.png||height="596" width="1223"]]
58
59
60 (% style="color:red" %)**Special reminder: **(%%)If the user does not find the gateway Model, then (% style="color:blue" %)**git ~-~-> Packet Forwarder Semtech**(%%)  can be selected
61
62 [[image:image-20220831115222-11.png||height="596" width="1221"]]
63
64
65 (% style="color:blue" %)**Enter the ETH0 MAC of the gateway**
66
67 [[image:image-20220831111307-4.png||height="850" width="1237"]]
68
69
70 [[image:image-20220831111821-5.png||height="604" width="1239"]]
71
72
73 == 2.3 Step 3: Back to Semtech UDP page ==
74
75
76 Back to the page of Semtech UDP check the secondary server settings and click the button of (% style="color:blue" %)**Save&Apply.**
77
78 (% class="box infomessage" %)
79 (((
80 Server Address:  ~-~-> LORIOT Different servers use different addresses, Such as: **next.loriot.io**
81
82 Uplink /Downlink Port :  ~-~-> 1780
83 )))
84
85 [[image:image-20220831112553-7.png]]
86
87
88 == 2.4 Step 4: Check Connection ==
89
90
91 (((
92 LORIOT will show disconnect if Gateway doesn't connect
93 )))
94
95 (((
96 LORIOT will show connect if Gateway connect to LORIOT ok.
97 )))
98
99 [[image:image-20220831114125-8.png||height="561" width="1150"]]
100
101
102 == 2.5  Trouble Shooting ==
103
104
105 User can check the station log in the(% style="color:blue" %)** LogRead ~-~-> System Log **(%%)page.
106
107 [[image:image-20220831114647-9.png||height="706" width="894"]]
108
109
110 and recode the station log in the (% style="color:blue" %)** LogRead  ~-~->  Recode Log**(%%) page.
111
112 [[image:image-20220831114746-10.png||height="292" width="972"]]
113
114
115
116 = 3. Gateway Registration for Basics Station =
117
118
119 The LoRa Basics™ Station protocol simplifies the management of large-scale LoRaWAN networks. LoRa Basics™ Station is the preferred way of connecting Gateways to LORIOT. [[The LoRa Basics Station doc>>url:https://www.thethingsindustries.com/docs/gateways/lora-basics-station/]]
120
121 (((
122 (% style="color:blue" %)**Below list the support products and Requirements:**
123 )))
124
125 1. LoRaWAN Gateway model:  [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] ,[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]]
126
127 2.  Firmware version since :       
128
129
130 (% style="color:blue" %)**What do you need to prepare?**
131
132 A gateway that can access the internet normally
133
134
135 == 3.1 Step 1: Register Gateway ==
136
137 [[image:image-20231101162122-1.png||height="528" width="1022"]]
138
139
140 Enter the gateway ID into the Custom EUI
141
142 [[image:image-20231101162623-2.png||height="526" width="1024"]]
143
144
145 == 3.2  Step 2: Generate and Download TLS Certificate ==
146
147 [[image:image-20231101163647-3.png||height="529" width="1024"]]
148
149
150 Download LORIOT's three TLS certificates, which are:
151
152 (% style="color:red" %)**DigiCert_Global_Root_G2.crt , "Gateway EUI".gws.loriot.io.crt , "Gateway EUI".gws.loriot.io.key**
153
154 [[image:image-20231101163743-4.png||height="528" width="1024"]]
155
156
157
158 == 3.3  Step 3: Access the gateway GUI ==
159
160 User need to upload the TLS certificate and configure the LNS URI
161
162
163 == 3.4  Step 4: Configure Station ==
164
165 User need to input Server URI, Server CUPS Key and LNS Key, as well as install CUPS certificate.
166
167 (% style="color:blue" %)**just to clarify:**
168
169 Server URI  ~-~->  Server Address, Example: wss:~/~/ap2.loriot.io:717
170 TLS CA Certificate         ~-~-> 
171 TLS Key  ~-~-> 
172 TLS Certificate  ~-~->   
173
174
175 == 3.5  Start Station ==
176
177 When the user has finished the configuration, Please click "Save&Apply" to start station to connect LORIOT.
178
179
180 == 3.6  Check Connection ==
181
182 If user completes the above steps,which will see Log in the LORIOT.
183
184 [[image:image-20231101165306-5.png||height="542" width="1050"]]
185
186
187 == 3.7  Trouble Shooting ==
188
189 User can check the station log in the** LogRead ~-~-> System Log **page.
190
191 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135845-15.png?rev=1.1||alt="image-20220526135845-15.png"]]
192
193
194 and recode the station log in the** LogRead  ~-~->  Recode Log** page.
195
196 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/Notes%20for%20TTN/WebHome/image-20220526135940-16.png?rev=1.1||alt="image-20220526135940-16.png"]]
197
198
199
200
201 = 4. End Device Note =
202
203 == 4.1 Downlink Setup ==
204
205
206 [[image:image-20220530145133-2.png]]
207
208
209 [[image:image-20220526112416-11.png]]
210
211
212 [[image:image-20220526112459-12.png]]
213
214
215 [[image:image-20220526112537-13.png]]
216
217
218 [[image:image-20220526112608-14.png||height="610" width="1382"]]
219
220
221 [[image:image-20220526112655-15.png]]
222
223
224 [[image:image-20220526112719-16.png]]
225
226
227 [[image:image-20220526112759-17.png||height="483" width="1386"]]