Wiki source code of Notes for Helium

Version 57.6 by Xiaoling on 2022/05/26 10:43

Hide last authors
Xiaoling 1.19 1 **~ Contents:**
Xiaoling 1.1 2
Xiaoling 57.6 3 * [[1. Use Dragino Gateways/Hotspots with Helium>>path:#H1.UseDraginoGateways2FHotspotswithHelium]]
4 ** [[1.1 Support Models>>path:#H1.1SupportModels]]
5 * [[2. Connect Data-Only Hotspot to Helium>>path:#H2.ConnectData-OnlyHotspottoHelium]]
6 ** [[2.1 Prerequisites>>path:#H2.1Prerequisites]]
7 ** [[2.2 Step 1:Configure Frequency Band>>path:#H2.2Step1:ConfigureFrequencyBand]]
8 ** [[2.3 Step 2: Download the Helium-gateway-rs>>path:#H2.3Step2:DownloadtheHelium-gateway-rs]]
9 ** [[2.4 Step 3: Install the Helium-gateway-rs>>path:#H2.4Step3:InstalltheHelium-gateway-rs]]
10 ** [[2.5 Step 4: Save&start the Helium Server>>path:#H2.5Step4:Save26starttheHeliumServer]]
11 ** [[2.6 Step 5: Check Gateway Connection before onboarding>>path:#H2.6Step5:CheckGatewayConnectionbeforeonboarding]]
12 ** [[2.7 Step 6: Onboarding Data-Only Hotspot>>path:#H2.7Step6:OnboardingData-OnlyHotspot]]
13 ** [[2.8 Debug Connection>>path:#H2.8DebugConnection]]
14 *** [[2.8.1 Check pkt-fwd running Log>>path:#H2.8.1Checkpkt-fwdrunningLog]]
15 *** [[2.8.2 Check gateway-rs Log>>path:#H2.8.2Checkgateway-rsLog]]
16 *** [[2.8.3 View the public key address and animal name>>path:#H2.8.3Viewthepublickeyaddressandanimalname]]
17 *** [[2.8.4 Backup/Restor gateway-rs key>>path:#H2.8.4Backup2FRestorgateway-rskey]]
18 ** [[2.9 Forward the data to the other server>>path:#H2.9Forwardthedatatotheotherserver]]
19 *** [[2.9.1 Introduction>>path:#H2.9.1Introduction]]
20 *** [[2.9.2 Example>>path:#H2.9.2Example]]
21 **** [[2.9.2.1 Step 1: Back to Semtech UDP page>>path:#H2.9.2.1Step1:BacktoSemtechUDPpage]]
22 **** [[2.9.2.2 Step 2: Configure the double server forwarding>>path:#H2.9.2.2Step2:Configurethedoubleserverforwarding]]
23 ** [[2.10 Connect Full Hotspot to Helium>>path:#H2.10ConnectFullHotspottoHelium]]
24 * [[3. Use Dragino Sensors with Helium>>path:#H3.UseDraginoSensorswithHelium]]
25 ** [[3.1 How to add up user's end-node with Helium console>>path:#H3.1Howtoaddupuser27send-nodewithHeliumconsole]]
26 *** [[3.1.1 Step 1:Login the Helium console>>path:#H3.1.1Step1:LogintheHeliumconsole]]
27 *** [[3.1.2 Step 2:Add up your end-node's key>>path:#H3.1.2Step2:Addupyourend-node27skey]]
28 *** [[3.1.3 Step 3:Activate the end-node>>path:#H3.1.3Step3:Activatetheend-node]]
29 ** [[3.2 How to use decoder>>path:#H3.2Howtousedecoder]]
30 *** [[3.2.1 Step 1:Users can create decoders on functions>>path:#H3.2.1Step1:Userscancreatedecodersonfunctions]]
31 *** [[3.2.2 Step 2:Add a decoder in functions and apply it to the specified label>>path:#H3.2.2Step2:Addadecoderinfunctionsandapplyittothespecifiedlabel]]
32 ** [[3.3 How to send a downlink to end device from Helium>>path:#H3.3HowtosendadownlinktoenddevicefromHelium]]
33 ** [[3.4 How to add integration to different IoT Servers>>path:#H3.4HowtoaddintegrationtodifferentIoTServers]]
34 *** [[3.4.1 TagoIO>>path:#H3.4.1TagoIO]]
35 *** [[3.4.2 Cayenne>>path:#H3.4.2Cayenne]]
36 ** [[3.5 Trouble Shooting>>path:#H3.5TroubleShooting]]
37 *** [[3.5.1 Trouble to Join Helium>>path:#H3.5.1TroubletoJoinHelium]]
38 *** [[3.5.2 Packet Loss for AU915 / US915 Band>>path:#H3.5.2PacketLossforAU9152FUS915Band]]
Xiaoling 1.1 39
40
Xiaoling 1.2 41 = 1. Use Dragino Gateways/Hotspots with Helium =
Xiaoling 1.1 42
Xiaoling 1.2 43 == 1.1 Support Models ==
Xiaoling 1.1 44
Xiaoling 36.6 45 There are three types of hotspots that can connect to Helium. They are (% style="color:#4f81bd" %)**full-hotspot**(%%), (% style="color:#4f81bd" %)**light hotspot** (%%)and (% style="color:#4f81bd" %)**data-only hotspot**(%%). Definition of these three types of hotspots can be found here: [[of Helium Hotspots>>url:https://docs.helium.com/mine-hnt%7CTypes]]. Different hotspots support different mining abilities.
Xiaoling 1.1 46
Xiaoling 1.18 47 (((
Xiaoling 1.2 48 Dragino has different gateway models that support different types.
Xiaoling 1.18 49 )))
Xiaoling 1.1 50
Xiaoling 57.3 51 (% border="1" style="background-color:#ffffcc; width:510px" %)
Xiaoling 36.4 52 |(% colspan="4" style="width:589px" %)(% style="color:green" %)**Dragino Hotspots for Helium**
53 |(% style="color:green; width:132px" %)**Model**|(% style="color:green; width:126px" %)**Hotspot Types**|(% style="color:green; width:121px" %)**Mining Ability**|(% style="color:green; width:203px" %)**Configure Instruction**
54 |(% style="width:132px" %)(((
Xiaoling 36.3 55 [[LPS8>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[DLOS8>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]],
56
57 [[LG308>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]],[[LIG16>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]]
Xiaoling 57.6 58 )))|(% style="color:#4f81bd; width:126px" %)**Data-Only Hotspot**|(% style="width:121px" %)[[Helium Link>>url:https://docs.helium.com/mine-hnt/data-only-hotspots]]|(% style="width:203px" %)[[Data-Only Hotspot Instruction>>path:#H2.ConnectData-OnlyHotspottoHelium]]
59 |(% style="width:132px" %)[[HP0D>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/195-hp0d.html]]|(% style="color:#4f81bd; width:126px" %)**Full Hotspo**t|(% style="width:121px" %)[[Helium Link>>url:https://docs.helium.com/mine-hnt/full-hotspots]]|(% style="color:green; width:203px" %)[[Full Hotspot Instuction-Not Finish>>path:/xwiki/bin/view/Main/User%20Manual%20for%20All%20Gateway%20models/HP0D/]]
Xiaoling 1.1 60
Xiaoling 1.2 61 **Frequencies on the Helium Network**
Xiaoling 1.1 62
Xiaoling 1.2 63 * The frequencies currently available are CN470/EU868/US915/AU915
Xiaoling 1.1 64
Xiaoling 1.6 65 **Note**: more information refer to this link [[Helium Frequency plan>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans/]]
Xiaoling 1.1 66
Xiaoling 37.4 67
Xiaoling 1.4 68 = 2. Connect Data-Only Hotspot to Helium =
Xiaoling 1.1 69
Xiaoling 1.4 70 == 2.1 Prerequisites ==
Xiaoling 1.1 71
Xiaoling 1.2 72 * Firmware Requirement: > [[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]
73
Xiaoling 1.4 74 == 2.2 Step 1:Configure Frequency Band ==
Xiaoling 1.2 75
76 Each country has a requirement for frequency region. Choose the right one for your area.
77
Xiaoling 57.6 78 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170317-1.png?rev=1.1||alt="image-20220524170317-1.png"]]
Xiaoling 1.2 79
80 Select fre
81
Xiaoling 37.4 82
Xiaoling 1.4 83 == 2.3 Step 2: Download the Helium-gateway-rs ==
Xiaoling 1.2 84
85 Click Download Helium Server and the gateway will download the Helium-gateway-rs
86
Xiaoling 57.6 87 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170337-2.png?rev=1.1||alt="image-20220524170337-2.png"]]
Xiaoling 1.2 88
89 Start download the Helium-gatewayrs
90
Xiaoling 37.4 91
Xiaoling 57.6 92 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170359-3.png?rev=1.1||alt="image-20220524170359-3.png"]]
Xiaoling 1.2 93
94 Helium-gatewayrs download success
95
Xiaoling 37.4 96
Xiaoling 1.2 97 If download fails, click and download again
98
Xiaoling 57.6 99 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170437-4.png?rev=1.1||alt="image-20220524170437-4.png"]]
Xiaoling 1.2 100
101 Helium-gatewayrs download fail
102
Xiaoling 37.4 103
Xiaoling 1.4 104 == 2.4 Step 3: Install the Helium-gateway-rs ==
Xiaoling 1.2 105
106 Click **Install Helium Server** to install gateway-rs.
107
Xiaoling 57.6 108 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170458-5.png?rev=1.1||alt="image-20220524170458-5.png"]]
Xiaoling 1.2 109
110 Install the Helium gateway-rs
111
Xiaoling 1.6 112 **Note**: User will see the echo characters of Helium gateway-rs have been installed successfully.
Xiaoling 1.2 113
Xiaoling 37.4 114
Xiaoling 1.4 115 == 2.5 Step 4: Save&start the Helium Server ==
Xiaoling 1.2 116
117 Click **Save&Apply** and gateway will start to connect the Helium. The UI shows the connect status.
118
Xiaoling 57.6 119 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170524-6.png?rev=1.1||alt="image-20220524170524-6.png"]]
Xiaoling 1.2 120
121 Start Helium-gateway-rs
122
Xiaoling 37.4 123
Xiaoling 1.4 124 == 2.6 Step 5: Check Gateway Connection before onboarding ==
Xiaoling 1.2 125
126 A hotspot can transfer data to Helium after finishing step4. We can add a device to Helium and see if the device can join Helium. For example, we add an LGT92 sensor and see below info.
127
Xiaoling 1.8 128 (((
Xiaoling 1.2 129 Check end device event from [[Helium Console>>url:https://staging-console.helium.wtf/]], We can see the LGT92 data arrived Helium via our hotspot.
Xiaoling 1.8 130 )))
Xiaoling 1.2 131
Xiaoling 57.6 132 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526094537-1.png?width=1323&height=395&rev=1.1||alt="image-20220526094537-1.png" height="395" width="1323"]]
Xiaoling 1.2 133
134 Check if the packet is transferred via LPS8
135
136 **Note:** The hotspot is not valid for search in Helium Console before onboarding.
137
Xiaoling 37.4 138
Xiaoling 1.4 139 == 2.7 Step 6: Onboarding Data-Only Hotspot ==
Xiaoling 1.2 140
Xiaoling 1.6 141 (% style="color:red" %)**Note: Onboarding a Data-Only hotspot is not necessary, and it will gain very, very small awards on HNT by data-transfer .**
Xiaoling 1.2 142
143 User can refer [[this link>>url:https://docs.helium.com/mine-hnt/data-only-hotspots]] for how to onboarding a data-only hotspot. After onboarding the data-only hotspot, user can see the hotspot on Helium Console.
144
145 Below are the steps we do as per above link here.
146
Xiaoling 1.10 147 (((
Xiaoling 1.2 148 ~1. Set up Helium-Wallet in my computer. [[https:~~/~~/docs.helium.com/wallets/cli-wallet>>url:https://docs.helium.com/wallets/cli-wallet]]. and funds this wallet. From this step, we got the wallet info as below.
Xiaoling 1.10 149 )))
Xiaoling 1.2 150
Xiaoling 1.8 151 (% class="box" %)
152 (((
153 [root@iZt4n22vqvm7ajogrfiif6Z helium-wallet-v1.6.4-x86-64-linux]# helium-wallet info
154 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
155 ~| Key  | Value  |
156 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
157 ~| Address  | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux |
158 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
159 ~| Network  | mainnet  |
160 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
161 ~| Type  | ed25519  |
162 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
Xiaoling 1.9 163 ~| Sharded  | (% style="color:purple" %)false (%%) |
Xiaoling 1.8 164 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
165 ~| PwHash  | Argon2id13  |
166 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
167 ~| Balance  | 18.76580626  |
168 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
169 ~| DC Balance  | 0  |
170 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
171 ~| Securities Balance | 0.00000000  |
172 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
173 )))
Xiaoling 1.2 174
Xiaoling 1.18 175 (((
Xiaoling 1.8 176 **Note**: The wallet Address is 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux. and have about 18 HNT balance.
Xiaoling 1.18 177 )))
Xiaoling 1.2 178
179
Xiaoling 1.10 180 (((
Xiaoling 1.2 181 2. Get txn. In the data-only hotspot. run below command to add a hotspot, owner is the owner wallet of this hotspot, payer is the payer to pay transaction cost.
Xiaoling 1.10 182 )))
Xiaoling 1.2 183
Xiaoling 1.8 184 (% class="box" %)
185 (((
Xiaoling 1.10 186 root@123123:~~# helium_gateway add ~-~-owner 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux ~-~-payer 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux
Xiaoling 1.9 187
188 {
189 (% style="color:red" %)"address": "146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm",
190
191 (% style="color:red" %)
192 "fee": (% style="color:black" %)65000,
193
194 (% style="color:red" %)
195 "mode": "dataonly",
196
197 (% style="color:red" %)
198 "owner": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux",
199
200 (% style="color:red" %)
201 "payer": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux",
202
203 (% style="color:red" %)
204 "staking fee"(% style="color:black" %): 1000000,
205
206 (% style="color: red;" %)
207 "txn": "CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM="
208
209 }
Xiaoling 1.8 210 )))
Xiaoling 1.2 211
Xiaoling 1.10 212 (((
Xiaoling 1.2 213 We got the txn info from this step.
214 \\3. Add Hotspot. In the computer with helium wallet. run below command, replace the txn with the txn you got in above step. Note, below are two commands, the command without ~-~-commit is the preview mode. Check every detail in this mode and run the command with ~-~-commit to commit to the Helium Blockchain.
Xiaoling 1.10 215 )))
Xiaoling 1.2 216
Xiaoling 1.8 217 (% class="box" %)
218 (((
219 [root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM=
Xiaoling 1.2 220 Password: [hidden]
Xiaoling 1.11 221 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
222 ~| Key  | Value  |
223 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
224 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm  |
225 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-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~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
Xiaoling 1.9 236 \\Preview mode: use ~-~-commit to submit the transaction to the network
Xiaoling 1.8 237 [root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM= ~-~-commit
Xiaoling 1.2 238 Password: [hidden]
Xiaoling 1.12 239 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
240 ~| Key  | Value  |
241 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
242 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm  |
243 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
244 ~| Payer  | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux  |
245 +~-~-~-~-~-~-~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~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
Xiaoling 1.8 254 )))
Xiaoling 1.2 255
Xiaoling 1.18 256 (((
Xiaoling 1.2 257 4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.
Xiaoling 1.18 258 )))
Xiaoling 1.2 259
Xiaoling 1.8 260 (% class="box" %)
261 (((
262 [root@]# helium-wallet hotspots assert ~-~-gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm ~-~-lat=22.706922 ~-~-lon=114.242538 ~-~-mode dataonly
Xiaoling 1.2 263 Password: [hidden]
Xiaoling 1.13 264 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
265 ~| Key  | Value  |
266 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
267 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm |
268 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
269 ~| Location  | 8c411c02148d7ff  |
270 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~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-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
281 ~| Elevation  | 0  |
282 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
283 ~| Hash  | none  |
284 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
Xiaoling 1.9 285 \\Preview mode: use ~-~-commit to submit the transaction to the network
Xiaoling 37.3 286 //[root@]# helium-wallet hotspots assert ~-~-gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm ~-~-lat=22.706922 ~-~-lon=114.242538 ~-~-mode dataonly ~-~-commit//
Xiaoling 1.2 287 Password: [hidden]
Xiaoling 1.14 288 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
289 ~| Key  | Value  |
290 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-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312 Note: The add hotspot and assert location step might need some time to be effect.
Xiaoling 1.18 313 )))
Xiaoling 1.2 314
Xiaoling 1.15 315 (((
Xiaoling 1.2 316 After above steps finish, the mobile helium wallet should be able to show that this hotspot has been added to the helium blockchain.
Xiaoling 37.4 317
318
Xiaoling 1.15 319 )))
Xiaoling 1.2 320
Xiaoling 1.4 321 == 2.8 Debug Connection ==
Xiaoling 1.2 322
Xiaoling 1.4 323 === 2.8.1 Check pkt-fwd running Log ===
Xiaoling 1.2 324
325 This command can check if the LoRa Radio part runs correctly and if the gateway receives LoRa packets from LoRaWAN sensors.
326
Xiaoling 1.15 327 (((
Xiaoling 1.2 328 Below logs shows the gateway receive two LoRaWAN packets.
Xiaoling 1.15 329 )))
Xiaoling 1.2 330
Xiaoling 1.15 331 (% class="box" %)
332 (((
333 root@123123:~~# logread -f
334 Sun Nov 14 14:28:10 2021 daemon.info lora_pkt_fwd[3145]: INFO~~ [down] PULL_ACK received in 244 ms
Xiaoling 1.2 335 Sun Nov 14 14:28:11 2021 user.notice iot_keep_alive: Internet Access OK: via eth1
336 Sun Nov 14 14:28:11 2021 user.notice iot_keep_alive: use WAN or WiFi for internet access now
Xiaoling 1.15 337 Sun Nov 14 14:28:14 2021 daemon.info lora_pkt_fwd[3145]: PKT_FWD~~ DATA_UNCONF_UP-> {**"DevAddr": "1202EE72", "FCtrl": ["ADR": 1, "ADRACKReq": 0, "ACK": 0, "RFU" : "RFU", "FOptsLen": 0], "FCnt": 16390, "FPort": 2, "MIC": "3D55454B"**}
338 Sun Nov 14 14:28:14 2021 daemon.info lora_pkt_fwd[3145]: RXTX~~ {**"rxpk":[{"tmst":312204124,"time":"2021-11-14T14:28:14.688556Z","chan":0,"rfch":1,"freq":868.100000,"stat":1,"modu":"LORA","datr":"SF12BW125","codr":"4/5","lsnr":-11.2,"rssi":-137,"size":24,"data":"QHLuAhKABkACJg8A5dKDACUrBVNLRVU9"**}]}
339 Sun Nov 14 14:28:16 2021 daemon.info lora_pkt_fwd[3145]: PKT_FWD~~ DATA_UNCONF_UP-> {**"DevAddr": "260BDA6A", "FCtrl": ["ADR": 1, "ADRACKReq": 0, "ACK": 0, "RFU" : "RFU", "FOptsLen": 0], "FCnt": 1382, "FPort": 2, "MIC": "1CA5DAB7"**}
340 Sun Nov 14 14:28:16 2021 daemon.info lora_pkt_fwd[3145]: RXTX~~ {**"rxpk":[{"tmst":313985732,"time":"2021-11-14T14:28:16.446560Z","chan":7,"rfch":0,"freq":867.900000,"stat":1,"modu":"LORA","datr":"SF7BW125","codr":"4/5","lsnr":10.2,"rssi":-93,"size":42,"data":"QGraCyaAZgUCHMiipojXTdASx9QZcIVAQApHArEe+iGqt9pMSJ232qUc"**}]}
Xiaoling 1.2 341 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]:
Xiaoling 1.15 342 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~# Report at: 2021-11-14 14:28:19 UTC ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
343 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~## [UPSTREAM] ~#~##
344 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # RF packets received by concentrator: 6
345 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
346 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # RF packets forwarded: 6 (161 bytes)
347 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # PUSH_DATA datagrams sent: 6 (1493 bytes)
348 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # PUSH_DATA acknowledged: 0.00%
349 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~## [DOWNSTREAM] ~#~##
350 )))
Xiaoling 1.2 351
Xiaoling 37.4 352
Xiaoling 1.4 353 === 2.8.2 Check gateway-rs Log ===
Xiaoling 1.2 354
355 SSH to gateway and run **logread | grep helium_gateway** to check Gateway-rs running log.
356
Xiaoling 57.6 357 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170627-8.png?rev=1.1||alt="image-20220524170627-8.png"]]
Xiaoling 1.2 358
359 Helium-gatewayrs log
360
Xiaoling 1.16 361 **Note**: logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system.
Xiaoling 1.2 362
Xiaoling 37.4 363
Xiaoling 1.4 364 === 2.8.3 View the public key address and animal name ===
Xiaoling 1.2 365
Xiaoling 1.16 366 (% class="box" %)
367 (((
368 (((
369 (((
370 {{{root@123123:~# helium_gateway key info }}}
371 {
372 )))
373 )))
Xiaoling 1.2 374
Xiaoling 1.16 375 (((
376 (% style="color:red" %){{{"address": "13KmbKLdpDfECx19kB2nX4suSzz3GskA4JVqKHAKiJ89kuyJx8T",}}}
377 {{{"name": "great-mint-lizard"}}}(%%)
378 (% style="color:black" %)}
379 )))
380 )))
381
Xiaoling 57.6 382 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170640-9.png?rev=1.1||alt="image-20220524170640-9.png"]]
Xiaoling 1.2 383
384 Hostpot key and animal name
385
Xiaoling 37.4 386
Xiaoling 1.4 387 === 2.8.4 Backup/Restor gateway-rs key ===
Xiaoling 1.2 388
Xiaoling 1.17 389 (((
Xiaoling 1.2 390 For the date-only hotspots, the key is the only unique identifier, the users can backup the key by the button of Download. And once the uses upgrade the gateway or the gateway lose the key, the gateway-rs will generate a new key for which the data-only hotspot is the new unit. so if the user would restore to last time which can upload your backup key to the gateway by the button of upload.
Xiaoling 1.17 391 )))
Xiaoling 1.2 392
Xiaoling 57.6 393 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170701-10.png?rev=1.1||alt="image-20220524170701-10.png"]]
Xiaoling 1.2 394
395 Backup and restore key
396
Xiaoling 37.4 397
Xiaoling 1.4 398 == 2.9 Forward the data to the other server ==
Xiaoling 1.2 399
Xiaoling 1.4 400 === 2.9.1 Introduction ===
Xiaoling 1.2 401
Xiaoling 1.18 402 (((
Xiaoling 1.2 403 The Dragino gateway has supports the double server settings.
Xiaoling 1.18 404 )))
Xiaoling 1.2 405
Xiaoling 1.18 406 (((
Xiaoling 1.2 407 Users can back to the page of Semtech UDP to configure other server settings.
Xiaoling 37.4 408
409
Xiaoling 1.18 410 )))
Xiaoling 1.2 411
Xiaoling 1.4 412 === 2.9.2 Example ===
Xiaoling 1.2 413
Xiaoling 37.4 414 The following takes The Things Network as another LoRaWAN server as an example.
Xiaoling 1.2 415
Xiaoling 37.4 416
Xiaoling 1.4 417 ==== 2.9.2.1 Step 1: Back to Semtech UDP page ====
Xiaoling 1.2 418
Xiaoling 57.6 419 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170722-11.png?rev=1.1||alt="image-20220524170722-11.png"]]
Xiaoling 1.2 420
421 Back to Semtech UDP page
422
Xiaoling 37.4 423
Xiaoling 1.4 424 ==== 2.9.2.2 Step 2: Configure the double server forwarding ====
Xiaoling 1.2 425
Xiaoling 57.6 426 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170800-12.png?rev=1.1||alt="image-20220524170800-12.png"]]
Xiaoling 1.2 427
428 Configure the double server
429
430 The user can configure the secondary server and then click the button of Save&Apply.
431
Xiaoling 37.4 432
Xiaoling 1.4 433 == 2.10 Connect Full Hotspot to Helium ==
Xiaoling 1.2 434
Xiaoling 1.4 435 = 3. Use Dragino Sensors with Helium =
Xiaoling 1.2 436
Xiaoling 1.4 437 == 3.1 How to add up user's end-node with Helium console ==
Xiaoling 1.2 438
Xiaoling 1.4 439 === 3.1.1 Step 1:Login the Helium console ===
Xiaoling 1.2 440
441 User can Login the [[Helium Console>>url:https://staging-console.helium.wtf/]]
442
Xiaoling 57.6 443 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524170958-13.png?rev=1.1||alt="image-20220524170958-13.png"]]
Xiaoling 1.2 444
445 login Helium console
446
Xiaoling 37.4 447
Xiaoling 1.4 448 === 3.1.2 Step 2:Add up your end-node's key ===
Xiaoling 1.2 449
450 User add up end-node's key from console ~-~->dervice
451
Xiaoling 57.6 452 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524171027-14.png?rev=1.1||alt="image-20220524171027-14.png"]]
Xiaoling 1.2 453
454 To add a device
455
Xiaoling 37.4 456
Xiaoling 1.4 457 === 3.1.3 Step 3:Activate the end-node ===
Xiaoling 1.2 458
Xiaoling 1.17 459 (((
Xiaoling 1.2 460 Users can activate the end-node with OTAA in which the end-node will Join the network from the Helium server **Eventually you will see traffic**
Xiaoling 1.17 461 )))
Xiaoling 1.2 462
Xiaoling 57.6 463 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526095413-2.png?width=1352&height=555&rev=1.1||alt="image-20220526095413-2.png" height="555" width="1352"]]
Xiaoling 1.2 464
465 end-node traffic.
466
Xiaoling 1.4 467 == 3.2 How to use decoder ==
Xiaoling 1.2 468
Xiaoling 1.4 469 === 3.2.1 Step 1:Users can create decoders on functions ===
Xiaoling 1.2 470
Xiaoling 57.6 471 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524171109-16.png?rev=1.1||alt="image-20220524171109-16.png"]]
Xiaoling 1.2 472
473 Decoder.
474
Xiaoling 1.4 475 === 3.2.2 Step 2:Add a decoder in functions and apply it to the specified label ===
Xiaoling 1.2 476
Xiaoling 57.6 477 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526095629-6.png?rev=1.1||alt="image-20220526095629-6.png"]]
Xiaoling 1.2 478
479
Xiaoling 57.6 480 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526095553-5.png?rev=1.1||alt="image-20220526095553-5.png"]]
Xiaoling 1.2 481
Xiaoling 44.2 482
Xiaoling 57.6 483 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526100057-8.png?width=1133&height=352&rev=1.1||alt="image-20220526100057-8.png" height="352" width="1133"]]
Xiaoling 44.2 484
Xiaoling 1.2 485 Decoder.
486
487 Add decoder complete.
488
Xiaoling 44.2 489
Xiaoling 1.4 490 == 3.3 How to send a downlink to end device from Helium ==
Xiaoling 1.2 491
Xiaoling 1.17 492 (((
Xiaoling 1.2 493 The Helium server needs to convert to Base64 format when sending the downlink command. Please refer to the following example:
Xiaoling 1.17 494 )))
Xiaoling 1.2 495
Xiaoling 1.17 496 (((
Xiaoling 1.2 497 The Downlink command comes from this link:[[https:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:https://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]
Xiaoling 1.17 498 )))
Xiaoling 1.2 499
Xiaoling 1.17 500 (((
Xiaoling 1.2 501 Change Uplink Interval:Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
Xiaoling 1.17 502 )))
Xiaoling 1.2 503
Xiaoling 1.17 504 (% class="box" %)
505 (((
Xiaoling 1.2 506 01 00 00 3C ~-~-> AQAAPA==
Xiaoling 1.17 507 )))
Xiaoling 1.2 508
Xiaoling 57.6 509 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220524171341-21.png?rev=1.1||alt="image-20220524171341-21.png"]]
Xiaoling 1.2 510
511 Downlink
512
Xiaoling 46.2 513
Xiaoling 1.4 514 == 3.4 How to add integration to different IoT Servers ==
Xiaoling 1.2 515
Xiaoling 1.4 516 === 3.4.1 TagoIO ===
Xiaoling 1.2 517
518 The steps to add integration are very simple. Please see the following process.
519
Xiaoling 57.6 520 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526102429-23.png?width=1198&height=630&rev=1.1||alt="image-20220526102429-23.png" height="630" width="1198"]]
Xiaoling 1.2 521
522 TagoIO.
523
Xiaoling 46.2 524
Xiaoling 1.2 525 Generate the authorization code and then copy it.
526
Xiaoling 57.6 527 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526100452-10.png?width=1188&height=314&rev=1.1||alt="image-20220526100452-10.png" height="314" width="1188"]]
Xiaoling 1.2 528
529 TagoIO.
530
Xiaoling 46.2 531
Xiaoling 1.2 532 Apply Integration to Label.
533
Xiaoling 57.6 534 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526100802-13.png?rev=1.1||alt="image-20220526100802-13.png"]]
Xiaoling 1.2 535
Xiaoling 48.2 536
Xiaoling 1.2 537 TagoIO.
538
539
Xiaoling 57.6 540 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526100927-14.png?rev=1.1||alt="image-20220526100927-14.png"]]
Xiaoling 48.2 541
Xiaoling 1.2 542 TagoIO.
543
Xiaoling 48.2 544
Xiaoling 1.2 545 Click LoRaWAN Helium,select the device.
546
Xiaoling 57.6 547 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526101215-15.png?width=1117&height=599&rev=1.1||alt="image-20220526101215-15.png" height="599" width="1117"]]
Xiaoling 1.2 548
549 TagoIO.
550
Xiaoling 50.2 551
Xiaoling 1.2 552 Fill in DEVEUI and create my device.
553
Xiaoling 57.6 554 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526101419-16.png?rev=1.1||alt="image-20220526101419-16.png"]]
Xiaoling 1.2 555
556 TagoIO.
557
Xiaoling 50.2 558
Xiaoling 1.4 559 === 3.4.2 Cayenne ===
Xiaoling 1.2 560
561 The process of creating devices is similar to Tago.
562
Xiaoling 57.6 563 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526101616-18.png?width=1097&height=456&rev=1.1||alt="image-20220526101616-18.png" height="456" width="1097"]]
Xiaoling 1.2 564
565 Cayenne.
566
567
Xiaoling 57.6 568 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526101547-17.png?width=1092&height=656&rev=1.1||alt="image-20220526101547-17.png" height="656" width="1092"]]
Xiaoling 54.2 569
Xiaoling 1.2 570 Cayenne.
571
572
Xiaoling 57.6 573 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526101702-19.png?width=1109&height=528&rev=1.1||alt="image-20220526101702-19.png" height="528" width="1109"]]
Xiaoling 54.2 574
Xiaoling 1.2 575 Cayenne.
576
Xiaoling 54.2 577
Xiaoling 57.6 578 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526102303-22.png?rev=1.1||alt="image-20220526102303-22.png"]]
Xiaoling 1.2 579
580 Cayenne.
581
Xiaoling 54.2 582
Xiaoling 57.6 583 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526102114-21.png?rev=1.1||alt="image-20220526102114-21.png"]]
Xiaoling 1.2 584
585 Cayenne.
586
587
Xiaoling 57.6 588 [[image:/xwiki/bin/download/Main/Notes%20for%20Helium/WebHome/image-20220526101940-20.png?width=1044&height=543&rev=1.1||alt="image-20220526101940-20.png" height="543" width="1044"]]
Xiaoling 54.2 589
Xiaoling 1.2 590 Cayenne.
591
Xiaoling 54.2 592
Xiaoling 1.4 593 == 3.5 Trouble Shooting ==
Xiaoling 1.2 594
Xiaoling 1.4 595 === 3.5.1 Trouble to Join Helium ===
Xiaoling 1.2 596
Xiaoling 1.17 597 (((
Xiaoling 1.2 598 Assume the device is powered correctly. If you don't see data in Helium. The possibilities are:
Xiaoling 1.17 599 )))
Xiaoling 1.2 600
Xiaoling 1.17 601 (((
Xiaoling 1.2 602 1) You are out of Helium Gateway coverage. (If you have other end nodes, you can check whether they work and what is the signal strength you see in the platform)
Xiaoling 1.17 603 )))
Xiaoling 1.2 604
Xiaoling 1.17 605 (((
Xiaoling 1.2 606 2) Your end node frequency band doesn't match the Helium gateway frequency band. (Please double-check if frequency band matches)
Xiaoling 1.17 607 )))
Xiaoling 1.2 608
Xiaoling 1.17 609 (((
Xiaoling 1.2 610 3) You have input the wrong keys into Helium Platform ( You can send us the screenshots for the keys and Dragino support team can check for you)
Xiaoling 54.2 611
612
Xiaoling 1.17 613 )))
Xiaoling 1.2 614
Xiaoling 1.4 615 === 3.5.2 Packet Loss for AU915 / US915 Band ===
Xiaoling 1.2 616
Xiaoling 1.17 617 (((
Xiaoling 1.2 618 The node working on the AU915/US915 frequency has packet loss or the frequency channel and the gateway channel are different.
Xiaoling 1.17 619 )))
Xiaoling 1.2 620
Xiaoling 1.17 621 (((
Xiaoling 1.2 622 The reason for this problem is that the node does not lock the channel after joining the network.
Xiaoling 1.17 623 )))
Xiaoling 1.2 624
Xiaoling 1.17 625 (((
Xiaoling 1.2 626 Solution:
Xiaoling 1.17 627 )))
Xiaoling 1.2 628
Xiaoling 1.17 629 (((
Xiaoling 35.2 630 (1) If the user does not have a device to upgrade the firmware, you can use the AT+CHE command or the downlink command to set the channel. It is best to turn off the adaptive rate (ADR).Reset the device after setting the channel.
Xiaoling 1.17 631 )))
Xiaoling 1.2 632
Xiaoling 1.17 633 * (((
634 AT Command: AT+CHE
635 )))
Xiaoling 1.2 636
Xiaoling 1.17 637 * (((
638 Example:AT+CHE=1 ~/~/set channel mode to 1
639 )))
Xiaoling 1.2 640
Xiaoling 1.17 641 * (((
642 Downlink Command: 0x24
643 )))
Xiaoling 1.2 644
Xiaoling 1.17 645 (((
Xiaoling 1.2 646 Format: Command Code (0x24) followed by 1 bytes channel value.
Xiaoling 1.17 647 )))
Xiaoling 1.2 648
Xiaoling 1.17 649 (((
Xiaoling 1.2 650 If the downlink payload=2401, it means set channel mode to 1, while type code is 24.
Xiaoling 1.17 651 )))
Xiaoling 1.2 652
Xiaoling 1.17 653 * (((
654 Example 1: Downlink Payload: 2401 ~/~/ set channel mode to 1
655 )))
Xiaoling 1.2 656
Xiaoling 1.17 657 * (((
658 Example 2: Downlink Payload: 2405 ~/~/ set channel mode to 5
659 )))
Xiaoling 1.2 660
Xiaoling 1.17 661 (((
Xiaoling 35.2 662 (2) If the user has a device to upgrade the firmware, it is better to upgrade the device to the latest version. The latest version has fixed the problem that the AU915/US915 frequency does not lock the channel.
Xiaoling 1.17 663 )))
Xiaoling 1.2 664
Xiaoling 1.17 665 (((
Xiaoling 1.2 666 The latest firmware for end node will have this bug fixed.
Xiaoling 1.17 667 )))