Wiki source code of Connection to Senet

Version 61.1 by Kilight Cao on 2022/12/16 17:52

Hide last authors
Xiaoling 59.2 1 **~ Table of Contents:**
Xiaoling 1.2 2
Xiaoling 1.1 3 {{toc/}}
4
Xiaoling 55.4 5
6
7
Xiaoling 59.2 8 = 1.  Introduction =
Xiaoling 1.1 9
Xiaoling 59.2 10
Xiaoling 1.2 11 Here list some notice when connect to Senet
Xiaoling 1.1 12
Xiaoling 55.5 13
Xiaoling 1.1 14
Xiaoling 59.2 15 = 2.  Semtech UDP =
16
17
Xiaoling 1.2 18 Here is how to create a gateway on senet. Here are the steps to create a gateway.
Xiaoling 1.1 19
Xiaoling 59.2 20
Xiaoling 48.2 21 [[image:image-20220526115030-1.png]]
Xiaoling 1.1 22
Xiaoling 1.2 23 Location address
Xiaoling 1.1 24
25
Xiaoling 59.2 26
Xiaoling 48.2 27 [[image:image-20220526115058-2.png]]
28
Xiaoling 1.2 29 Gateway type
Xiaoling 1.1 30
31
Xiaoling 59.2 32
Xiaoling 48.2 33 [[image:image-20220526115128-3.png]]
34
Xiaoling 1.2 35 Gateway information
Xiaoling 1.1 36
37
Xiaoling 59.2 38
Xiaoling 48.2 39 [[image:image-20220526115157-4.png]]
40
Xiaoling 1.2 41 Installation information
Xiaoling 1.1 42
Xiaoling 48.2 43
Xiaoling 59.2 44
Xiaoling 1.2 45 (((
Xiaoling 59.2 46 (% style="color:red" %)**Note:  After the gateway is created, the gateway EUI has not been obtained. You need to wait for the server to allocate the gateway EUI. At this time, you may need to wait several hour.**
47
48
Xiaoling 1.2 49 )))
Xiaoling 1.1 50
Xiaoling 48.2 51 [[image:image-20220526115242-5.png]]
Xiaoling 1.1 52
Xiaoling 55.7 53
Xiaoling 59.2 54
Xiaoling 1.2 55 When you get the gateway EUI, you can see it in the mail or server.
56
Xiaoling 22.2 57 [[image:image-20220525083604-6.png]]
Xiaoling 1.2 58
Xiaoling 55.7 59
Xiaoling 59.2 60
Xiaoling 1.2 61 Then enter the LORAWAN configuration, fill in the gateway ID and server address.
62
Xiaoling 48.2 63 [[image:image-20220526115650-6.png]]
Xiaoling 1.2 64
65 LORAWAN Configuration
66
Xiaoling 55.6 67
Xiaoling 59.2 68
Xiaoling 1.2 69 Server successfully connected to gateway.
70
Xiaoling 48.2 71 [[image:image-20220526115824-7.png]]
Xiaoling 1.2 72
Xiaoling 48.2 73
Xiaoling 1.2 74
Xiaoling 59.2 75 = 3.  Semtech Basic Station =
Xiaoye 14.1 76
Xiaoling 59.2 77
78 == 3.1  Introduction ==
79
80
Xiaoye 14.1 81 The Senet Network supports LoRa Gateway's running the Semtech [[BasicStation>>url:https://doc.sm.tc/station/]] forwarder. This is a great place to start with development and initial integration.
82
83 (% class="wikigeneratedid" %)
Xiaoling 59.2 84 (% style="color:blue" %)**Firmware version since:**(%%) [[lgw-build-v5.4.1651822913>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LIG16/Firmware/Test_Firmware/lgw--build-v5.4.1651822913-20220506-1543/]]
Xiaoye 14.1 85
Xiaoling 59.2 86 (% style="color:blue" %)**What do you need to prepare:**(%%) A gateway that can access the internet normally
Xiaoye 14.1 87
88
Xiaoling 55.8 89
Xiaoling 59.2 90 == 3.2  Register Gateway ==
Xiaoye 1.3 91
Xiaoling 59.2 92
Xiaoye 12.1 93 Here is how to register a basic station gateway on senet. Here are the steps to create a gateway.
Xiaoye 1.3 94
Xiaoye 12.1 95 Enter your gateway located (custom)
96
Xiaoling 24.2 97 [[image:image-20220525083714-9.png]]
Xiaoye 12.1 98
Xiaoling 55.9 99
Xiaoling 59.3 100
Xiaoye 12.1 101 Select the type of gateway: Semtech Basic Station
102
Xiaoling 24.2 103 [[image:image-20220525083739-10.png]]
Xiaoye 12.1 104
Xiaoling 55.9 105
Xiaoye 12.1 106 Enter Gateway EUI and select the desired frequency
107
Xiaoling 25.2 108 [[image:image-20220525083805-11.png]]
Xiaoye 12.1 109
Xiaoling 55.10 110
Xiaoling 59.3 111
Xiaoye 12.1 112 Gateway information
113
Xiaoling 27.2 114 [[image:image-20220525083904-12.png]]
Xiaoye 12.1 115
Xiaoling 55.11 116
Xiaoling 59.3 117
Xiaoye 12.1 118 Check the information about the register gateway
119
Xiaoling 27.2 120 [[image:image-20220525083936-13.png]]
Xiaoye 12.1 121
Xiaoling 59.3 122 Click **"(% style="color:blue" %)Register"(%%)**, here been complete to register
Xiaoye 12.1 123
Xiaoling 55.12 124
Xiaoye 12.1 125
Xiaoling 59.3 126 == 3.2  Access the gateway GUI ==
127
128
Xiaoye 12.1 129 Access the gateway GUI interface of LoRaWAN~-~->LoRaWAN ~-~- Basic Station
130
Xiaoling 59.3 131
Kilight Cao 59.1 132 [[image:image-20220601100807-1.png||height="411" width="812"]]
Xiaoye 12.1 133
Xiaoling 59.3 134
135
Kilight Cao 59.1 136 User need to Choose the Senet , input Server URI and Upload the TLS Certificate
Xiaoye 12.1 137
138 (% class="box" %)
139 (((
Kilight Cao 59.1 140 Service Provider  ~-~->  Choose the Senet ~-~- Basic Station
Xiaoye 12.1 141
Kilight Cao 59.1 142 LNS URI  ~-~->  Enter the LNS URI address: wss:~/~/collector.senetco.io:6042
Xiaoye 12.1 143
144 LNS TLS trust  ~-~->  Upload the TLS Certificate
145 )))
146
Xiaoling 59.3 147
Xiaoye 12.1 148 This is the [[TLS certificate>>url:https://docs.senetco.io/dev/gw/tc.trust]] that the user needs to download
149
150 For more information, see the [[Senet BasicStation documentation>>url:https://docs.senetco.io/dev/gw/BasicStation/]]
151
Kilight Cao 59.1 152 [[image:image-20220601101244-2.png||height="387" width="823"]]
Xiaoye 12.1 153
Xiaoling 59.3 154
Kilight Cao 59.1 155 [[image:image-20220601101528-3.png||height="391" width="822"]]
Xiaoling 55.13 156
Xiaoye 12.1 157
158
Xiaoling 59.3 159 == 3.3  Start Station ==
Xiaoling 55.14 160
Xiaoye 12.1 161
Xiaoling 59.3 162 When the user has finished the configuration, Please click (% style="color:blue" %)**Sace&Apply**(%%) to start station to connect Senet
163
164
165
166 == 3.4  Successful Connection ==
167
168
Xiaoye 13.1 169 If user completes the above steps, which will see live date in the Senet.
Xiaoye 12.1 170
Xiaoling 30.2 171 [[image:image-20220525084103-16.png]]
Xiaoye 12.1 172
Xiaoling 55.15 173
Xiaoye 12.1 174
Xiaoling 59.3 175 == 3.5  Trouble Shooting ==
176
177
Kilight Cao 61.1 178 === 3.5.1 Why my gateway is showing offline on the Senet Console UI? ===
179
180
181 If the gateway does not receive any data packet within 10 minutes, the gateway status in the Senet platform is displayed as Offline.
182
183 This does not affect the normal use of the gateway, and when the node sends the packet again, the gateway status reshows as Active。
184
185 [[image:image-20221216175155-1.png||height="508" width="957"]]
186
187
188
Xiaoye 12.1 189 User can check the station log in the logread/system log page.
190
Xiaoling 36.2 191 [[image:image-20220525084131-17.png]]
Xiaoye 12.1 192
Xiaoling 59.3 193
Xiaoye 12.1 194 and recode the station log in the system/Recode log page.
195
Xiaoling 36.2 196 [[image:image-20220525084148-18.png]]
Xiaoye 12.1 197
Xiaoling 55.16 198
Xiaoye 1.3 199
Xiaoling 59.3 200 = 4.  Gateway and device sending and receiving situation =
201
202
Xiaoling 54.2 203 [[image:image-20220526133543-1.png||height="447" width="1323"]]
Xiaoling 1.2 204
205 Detailed status of the device sending and receiving packets
206
Xiaoling 55.18 207
Xiaoling 59.3 208
Xiaoling 54.2 209 [[image:image-20220526133616-2.png||height="636" width="1324"]]
Xiaoling 1.2 210
211 status
212
Xiaoling 55.19 213
Xiaoling 59.3 214
Xiaoling 1.2 215 Channel frequency
216
Xiaoling 54.2 217 [[image:image-20220526133722-3.png||height="514" width="1330"]]
Xiaoling 1.2 218
219 channel
220
Xiaoling 55.19 221
Xiaoling 1.2 222
Xiaoling 59.3 223 = 5.  Downlink =
224
225
Xiaoling 1.2 226 Downlink payload
227
Xiaoling 36.2 228 [[image:image-20220525084348-22.png]]
Xiaoling 1.2 229
230 Downlink
231
Xiaoling 55.20 232
Xiaoling 1.2 233
Xiaoling 59.3 234 = 6.  Create LHT65 node =
235
236
Xiaoling 54.2 237 [[image:image-20220526133851-4.png]]
Xiaoling 1.2 238
239 lht65
240
Xiaoling 55.21 241
Xiaoling 59.3 242
Xiaoling 55.2 243 [[image:image-20220526134154-7.png]]
Xiaoling 1.2 244
245 lht65
246
Xiaoling 55.21 247
Xiaoling 59.3 248
Xiaoling 54.2 249 [[image:image-20220526134108-6.png]]
Xiaoling 1.2 250
251 lht65
252
Xiaoling 55.22 253
Xiaoling 59.3 254
Xiaoling 1.2 255 Payload uploaded by LHT65.
256
Xiaoling 54.2 257 [[image:image-20220526134018-5.png||height="601" width="1233"]]
Xiaoling 1.2 258
259 lht65
Xiaoling 59.3 260
261