Wiki source code of Notes for Helium

Last modified by Edwin Chen on 2024/03/25 08:22

Hide last authors
Xiaoling 88.2 1 **~ Table of Contents:**
Xiaoling 1.1 2
Xiaoling 57.7 3 {{toc/}}
Xiaoling 1.1 4
5
Xiaoling 57.9 6
7
Xiaoling 99.2 8 = 1.  Use Dragino Gateways/Hotspots with Helium =
Xiaoling 1.1 9
Xiaoling 99.2 10 == 1.1  Support Models ==
Xiaoling 1.1 11
Xiaoling 88.3 12
Xiaoling 99.4 13 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 14
Xiaoling 1.18 15 (((
Xiaoling 99.4 16 Dragino has different gateway models that support different types.
Xiaoling 1.18 17 )))
Xiaoling 1.1 18
Xiaoling 99.4 19 (% border="1" style="background-color:#f2f2f2; width:510px" %)
Xiaoling 99.9 20 |(% colspan="4" style="background-color:#d9e2f3; color:#0070c0; width:589px" %)**Dragino Hotspots for Helium**
21 |(% style="color:#0070c0; width:132px" %)**Model**|(% style="color:#0070c0; width:126px" %)**Hotspot Types**|(% style="color:#0070c0; width:121px" %)**Mining Ability**|(% style="color:#0070c0; width:203px" %)**Configure Instruction**
Xiaoling 36.4 22 |(% style="width:132px" %)(((
Xiaoling 36.3 23 [[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]],
24
25 [[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 99.9 26 )))|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>>||anchor="H2.A0ConnectData-OnlyHotspottoHelium"]]
27 |(% style="width:132px" %)[[HP0D>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/195-hp0d.html]]|Full Hotspot|(% style="width:121px" %)[[Helium Link>>url:https://docs.helium.com/mine-hnt/full-hotspots]]|(% style="color:green; width:203px" %)[[Full Hotspot Instuction-Not Finish>>doc:Main.User Manual for All Gateway models.HP0D.WebHome]]
Xiaoling 1.1 28
Xiaoling 88.11 29 (% style="color:blue" %)**Frequencies on the Helium Network**
Xiaoling 1.1 30
Kilight Cao 82.1 31 * //The frequencies currently available are CN470/EU868/US915/AU915//
Xiaoling 1.1 32
Kilight Cao 81.1 33 (% style="color:red" %)**Note: more information refer to this link [[Helium Frequency plan>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans/]]**
Xiaoling 1.1 34
Xiaoling 37.4 35
Xiaoling 99.2 36 = 2.  Connect Data-Only Hotspot to Helium =
Xiaoling 88.4 37
Xiaoling 99.2 38 == 2.1  Prerequisites ==
Xiaoling 1.1 39
40
Xiaoling 99.9 41 * Firmware Requirement: > [[lgw~~-~~-build-v5.4.1640315898>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/]]
Xiaoling 1.2 42
Xiaoling 99.2 43 == 2.2  Step 1: Configure Frequency Band ==
Xiaoling 88.4 44
Xiaoling 99.2 45
Xiaoling 99.9 46 Each country has a requirement for frequency region. Choose the right one for your area.
Kilight Cao 82.1 47
Xiaoling 61.2 48 [[image:image-20220531175337-1.png]]
Xiaoling 1.2 49
50
Xiaoling 99.2 51 == 2.3  Step 2: Download the Helium-gateway-rs ==
Xiaoling 37.4 52
Xiaoling 1.2 53
Xiaoling 99.9 54 Click Download Helium Server and the gateway will download the Helium-gateway-rs
Xiaoling 1.2 55
Xiaoling 97.2 56
Kilight Cao 82.1 57 [[image:image-20220615150600-1.png||height="559" width="1045"]]
Xiaoling 1.2 58
Kilight Cao 84.1 59
Kilight Cao 82.1 60 //**Start download to Helium-gateway-rs**//
Xiaoling 1.2 61
Kilight Cao 82.1 62 [[image:image-20220615150627-2.png||height="598" width="1044"]]
Xiaoling 1.2 63
Kilight Cao 82.1 64 //**Helium-gatewayrs download success**//
Xiaoling 1.2 65
Xiaoling 37.4 66
Kilight Cao 82.1 67 //**If download fails, click and download again**//
Xiaoling 1.2 68
Kilight Cao 82.1 69 [[image:image-20220615150717-3.png||height="605" width="1039"]]
Xiaoling 1.2 70
71
Xiaoling 99.2 72 == 2.4  Step 3: Install the Helium-gateway-rs ==
Xiaoling 88.17 73
Xiaoling 37.4 74
Xiaoling 99.9 75 Click (% style="color:blue" %)**Install Helium Server**(%%) to install gateway-rs.
Xiaoling 1.2 76
Kilight Cao 82.1 77 [[image:image-20220615150734-4.png||height="619" width="1035"]]
Xiaoling 1.2 78
79 Install the Helium gateway-rs
80
Xiaoling 88.5 81
Kilight Cao 82.1 82 (% style="color:red" %)**Note: User will see the echo characters of Helium gateway-rs have been installed successfully.**
Xiaoling 1.2 83
Xiaoling 37.4 84
Xiaoling 99.2 85 == 2.5  Step 4: Save&start the Helium Server ==
Xiaoling 1.2 86
Kilight Cao 80.1 87
Xiaoling 99.9 88 By default, Region is US915, After configuring the Configure Frequency Band, click Save&Apply on the Helium IoT screen to modify the Region.
Kilight Cao 80.1 89
Xiaoling 88.17 90
Kilight Cao 82.1 91 [[image:image-20220615150903-5.png||height="592" width="1031"]]
Kilight Cao 80.1 92
Xiaoling 1.2 93
Xiaoling 88.17 94
Xiaoling 99.9 95 Click (% style="color:red" %)**Save&Apply**(%%) and gateway will start to connect the Helium. The UI shows the connect status.
Xiaoling 1.2 96
Kilight Cao 82.1 97 [[image:image-20220615151057-6.png||height="580" width="1026"]]
Xiaoling 1.2 98
Xiaoling 37.4 99
Xiaoling 99.2 100 == 2.6  Step 5: Check Gateway Connection before onboarding ==
Xiaoling 1.2 101
102
Xiaoling 99.9 103 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.
Kilight Cao 82.1 104
Xiaoling 1.8 105 (((
Xiaoling 99.9 106 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 107 )))
Xiaoling 1.2 108
Xiaoling 57.7 109 [[image:image-20220526094537-1.png||height="395" width="1323"]]
Xiaoling 1.2 110
111
Kilight Cao 82.1 112 (% style="color:red" %)**Note: The hotspot is not valid for search in Helium Console before onboarding.**
Xiaoling 1.2 113
Xiaoling 37.4 114
Xiaoling 99.2 115 == 2.7  Step 6: Onboarding Data-Only Hotspot ==
Xiaoling 1.2 116
Xiaoling 88.7 117
Xiaoye 101.1 118 **After the Helium Network was successfully migrated to the Solana blockchain on April 18, 2023, 9 am PST (16:00 UTC). the onboarding for data-only hotspots is not quite yet**
Xiaoling 1.2 119
Xiaoye 101.1 120 **Now the users are able to connect the helium console with a data-only hotspot without any onboarding.**
Xiaoling 88.7 121
Xiaoling 1.2 122
Xiaoye 100.1 123 (% style="color:red" %)--**Note: Onboarding a Data-Only hotspot is necessary for downlink to work. otherwise, the downlink message for LoRa won't work .**--
Xiaoling 1.2 124
Kilight Cao 82.1 125
Xiaoye 100.1 126 --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.--
127
128 --Below are the steps we do as per above link here.--
129
130
Xiaoling 1.10 131 (((
Xiaoye 100.1 132 (% style="color:blue" %)--//**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 133 )))
Xiaoling 1.2 134
Xiaoling 1.8 135 (% class="box" %)
136 (((
Xiaoye 100.1 137 --[root@iZt4n22vqvm7ajogrfiif6Z helium-wallet-v1.6.4-x86-64-linux]# helium-wallet info
Xiaoling 1.8 138 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
139 ~| Key  | Value  |
140 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
141 ~| Address  | 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux |
142 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
143 ~| Network  | mainnet  |
144 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
145 ~| Type  | ed25519  |
146 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
Xiaoling 1.9 147 ~| Sharded  | (% style="color:purple" %)false (%%) |
Xiaoling 1.8 148 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
149 ~| PwHash  | Argon2id13  |
150 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
151 ~| Balance  | 18.76580626  |
152 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
153 ~| DC Balance  | 0  |
154 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
155 ~| Securities Balance | 0.00000000  |
Xiaoye 100.1 156 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+--
Xiaoling 1.8 157 )))
Xiaoling 1.2 158
Xiaoling 88.17 159
Xiaoling 1.18 160 (((
Xiaoye 100.1 161 (% style="color:red" %)--**Note: The wallet Address is 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux. and have about 18 HNT balance.**--
Xiaoling 1.18 162 )))
Xiaoling 1.2 163
164
Xiaoling 88.7 165
Xiaoling 1.10 166 (((
Xiaoye 100.1 167 (% style="color:blue" %)--//**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 168 )))
Xiaoling 1.2 169
Xiaoling 1.8 170 (% class="box" %)
171 (((
Xiaoye 100.1 172 --root@123123:~~# helium_gateway add ~-~-owner 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux ~-~-payer 13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux--
Xiaoling 1.9 173
Xiaoye 100.1 174 --{
175 (% style="color:red" %)"address": "146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm",(%%)--
Xiaoling 1.9 176
177 (% style="color:red" %)
Xiaoye 100.1 178 --"fee": (% style="color:black" %)65000,(%%)--
Xiaoling 1.9 179
180 (% style="color:red" %)
Xiaoye 100.1 181 --"mode": "dataonly",--
Xiaoling 1.9 182
183 (% style="color:red" %)
Xiaoye 100.1 184 --"owner": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux",--
Xiaoling 1.9 185
186 (% style="color:red" %)
Xiaoye 100.1 187 --"payer": "13oLxfjxcYajvfkxxxxxxxxxxxxxxxxxxxxxfY3yp4cz8r1NNux",--
Xiaoling 1.9 188
189 (% style="color:red" %)
Xiaoye 100.1 190 --"staking fee"(% style="color:black" %): 1000000,(%%)--
Xiaoling 1.9 191
192 (% style="color: red;" %)
Xiaoye 100.1 193 --"txn": "CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM="--
Xiaoling 1.9 194
Xiaoye 100.1 195 --}--
Xiaoling 1.8 196 )))
Xiaoling 1.2 197
Xiaoling 1.10 198 (((
Xiaoye 100.1 199 --//We got the txn info from this step.//--
Kilight Cao 82.1 200
201
Xiaoling 88.7 202
Xiaoye 100.1 203 (% style="color:blue" %)--//**3. Add Hotspot. In the computer with helium wallet. run below command, replace the txn with the txn you got in above step.**//--
Xiaoling 88.7 204
205
Xiaoye 100.1 206 (% style="color:red" %)--**Note: below are two commands, the command without ~-~-commit is the preview mode.**--
Kilight Cao 82.1 207
Xiaoling 88.7 208
Xiaoye 100.1 209 --Check every detail in this mode and run the command with ~-~-commit to commit to the Helium Blockchain.--
Xiaoling 1.10 210 )))
Xiaoling 1.2 211
Xiaoling 1.8 212 (% class="box" %)
213 (((
Xiaoye 100.1 214 --[root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM=
Xiaoling 1.2 215 Password: [hidden]
Xiaoling 1.11 216 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
217 ~| Key  | Value  |
218 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
219 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm  |
220 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~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-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
Xiaoling 1.9 231 \\Preview mode: use ~-~-commit to submit the transaction to the network
Xiaoling 1.8 232 [root@]# helium-wallet hotspots add CrMBCiEBcJ9JnnIW50i+xEJRtFRVqyosuR4CzJVf3m7qGEF+WZYNhVgLtajtf4elKPoA3NkvAphTQTACohAXCfSZ5yNupaL/FxaNGQgV+P9UHLWzicPhTh7YVEOl2BOMCEPUDo+wM= ~-~-commit
Xiaoling 1.2 233 Password: [hidden]
Xiaoling 1.12 234 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
235 ~| Key  | Value  |
236 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
237 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm  |
238 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
239 ~| Payer  | 13oLxfjxcYajvfkxxxxxxxxx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~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+--
Xiaoling 1.8 249 )))
Xiaoling 1.2 250
Xiaoling 1.18 251 (((
Xiaoling 88.7 252
253
Xiaoye 100.1 254 (% style="color:blue" %)--//**4. Assert Location. In helium Wallet. run below command, note, the ~-~-gateway should input gateway address from step 2.**//--
Xiaoling 1.18 255 )))
Xiaoling 1.2 256
Xiaoling 1.8 257 (% class="box" %)
258 (((
Xiaoye 100.1 259 --[root@]# helium-wallet hotspots assert ~-~-gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm ~-~-lat=22.706922 ~-~-lon=114.242538 ~-~-mode dataonly
Xiaoling 1.2 260 Password: [hidden]
Xiaoling 1.13 261 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
262 ~| Key  | Value  |
263 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
264 ~| Address  | 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm |
265 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~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~-~-~-~-~-~-~-~-~--+
276 ~| Gain (dBi)  | 1.2  |
277 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
278 ~| Elevation  | 0  |
279 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
280 ~| Hash  | none  |
281 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~--+
Xiaoling 1.9 282 \\Preview mode: use ~-~-commit to submit the transaction to the network
Xiaoling 37.3 283 //[root@]# helium-wallet hotspots assert ~-~-gateway 146XjfUJXAkthGzBGnifwxWV4tVKyayN76JGZ21TE5jcoUNubJm ~-~-lat=22.706922 ~-~-lon=114.242538 ~-~-mode dataonly ~-~-commit//
Xiaoling 1.2 284 Password: [hidden]
Xiaoling 1.14 285 +~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+
286 ~| Key  | Value  |
287 +~-~-~-~-~-~-~-~-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~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-+--
Xiaoling 1.8 306 )))
Xiaoling 1.2 307
Xiaoling 88.17 308
Xiaoling 1.18 309 (((
Xiaoye 100.1 310 (% style="color:red" %)--**Note: The add hotspot and assert location step might need some time to be effect.**--
Xiaoling 1.18 311 )))
Xiaoling 1.2 312
Xiaoling 1.15 313 (((
Xiaoye 100.1 314 --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 315
316
Xiaoling 1.15 317 )))
Xiaoling 1.2 318
Xiaoling 99.2 319 == 2.8  Debug Connection ==
Xiaoling 1.2 320
Xiaoling 99.2 321 === 2.8.1  Check pkt-fwd running Log ===
Xiaoling 1.2 322
323
Xiaoling 99.9 324 This command can check if the LoRa Radio part runs correctly and if the gateway receives LoRa packets from LoRaWAN sensors.
Kilight Cao 83.1 325
Xiaoling 1.15 326 (((
Xiaoling 99.9 327 Below logs shows the gateway receive two LoRaWAN packets.
Xiaoling 1.15 328 )))
Xiaoling 1.2 329
Xiaoling 1.15 330 (% class="box" %)
331 (((
332 root@123123:~~# logread -f
333 Sun Nov 14 14:28:10 2021 daemon.info lora_pkt_fwd[3145]: INFO~~ [down] PULL_ACK received in 244 ms
Xiaoling 1.2 334 Sun Nov 14 14:28:11 2021 user.notice iot_keep_alive: Internet Access OK: via eth1
335 Sun Nov 14 14:28:11 2021 user.notice iot_keep_alive: use WAN or WiFi for internet access now
Xiaoling 1.15 336 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"**}
337 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"**}]}
338 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"**}
339 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 340 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]:
Xiaoling 1.15 341 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~# Report at: 2021-11-14 14:28:19 UTC ~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#
342 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~## [UPSTREAM] ~#~##
343 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # RF packets received by concentrator: 6
344 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%
345 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # RF packets forwarded: 6 (161 bytes)
346 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # PUSH_DATA datagrams sent: 6 (1493 bytes)
347 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ # PUSH_DATA acknowledged: 0.00%
348 Sun Nov 14 14:28:19 2021 daemon.info lora_pkt_fwd[3145]: REPORT~~ ~#~## [DOWNSTREAM] ~#~##
349 )))
Xiaoling 1.2 350
Xiaoling 37.4 351
Xiaoling 99.2 352 === 2.8.2  Check gateway-rs Log ===
Xiaoling 1.2 353
354
Kilight Cao 83.1 355 //SSH to gateway and run **logread | grep helium_gateway** to check Gateway-rs running log.//
356
Xiaoling 67.2 357 [[image:image-20220531175809-7.png]]
Xiaoling 1.2 358
359
Xiaoling 88.7 360 (% style="color:red" %)**Note**: **logread is dynamic and FIFO, so helium log might be overwritten by other processes info in system.**
Xiaoling 1.2 361
Xiaoling 37.4 362
Xiaoling 99.2 363 === 2.8.3  View the public key address and animal name ===
Xiaoling 88.17 364
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 68.2 382 [[image:image-20220531175844-8.png]]
Xiaoling 1.2 383
384 Hostpot key and animal name
385
Xiaoling 37.4 386
Xiaoling 99.2 387 === 2.8.4  Backup/Restor gateway-rs key ===
Xiaoling 1.2 388
Xiaoling 88.7 389
Xiaoling 1.17 390 (((
Xiaoling 99.9 391 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 392 )))
Xiaoling 1.2 393
Xiaoling 69.2 394 [[image:image-20220531175919-9.png]]
Xiaoling 1.2 395
396
Xiaoling 99.2 397 === 2.8.5  How to manually download helium gateway-rs via SSH access to the gateway Linux console ===
Xiaoling 37.4 398
Kilight Cao 99.1 399
400 (% class="box infomessage" %)
401 (((
Kilight Cao 103.1 402 **cd /tmp;wget -O helium-gateway-rs-dragino.ipk [[https:~~/~~/www.dragino.com/downloads/downloads/LoRa_Gateway/3rd-software/helium/gateway-rs/data-only/gateway-rs-latest.ipk>>https://www.dragino.com/downloads/downloads/LoRa_Gateway/3rd-software/helium/gateway-rs/data-only/gateway-rs-latest.ipk]]**
Kilight Cao 99.1 403
Xiaoling 99.9 404 **opkg install helium-gateway-rs-dragino.ipk **
Kilight Cao 99.1 405 )))
406
Kilight Cao 103.1 407 [[image:image-20231120113632-1.png||height="255" width="1365"]]
Kilight Cao 99.1 408
409
Xiaoling 99.2 410 == 2.9  Forward the data to the other server ==
Xiaoling 1.2 411
Xiaoling 99.2 412 === 2.9.1  Introduction ===
Xiaoling 1.2 413
Kilight Cao 83.1 414
Xiaoling 1.18 415 (((
Xiaoling 99.9 416 The Dragino gateway has supports the double server settings.
Xiaoling 1.18 417 )))
Xiaoling 1.2 418
Xiaoling 1.18 419 (((
Xiaoling 99.9 420 Users can back to the page of Semtech UDP to configure other server settings.
Xiaoling 37.4 421
422
Xiaoling 1.18 423 )))
Xiaoling 1.2 424
Xiaoling 99.2 425 === 2.9.2  Example ===
Xiaoling 1.2 426
427
Xiaoling 99.9 428 The following takes The Things Network as another LoRaWAN server as an example.
Xiaoling 37.4 429
Xiaoling 1.2 430
Kilight Cao 83.1 431
Xiaoling 88.7 432 ==== (% style="color:blue" %)**Step 1: Back to Semtech UDP page**(%%) ====
Kilight Cao 83.1 433
Xiaoling 88.7 434
Xiaoling 70.2 435 [[image:image-20220531180002-10.png]]
Xiaoling 1.2 436
437 Back to Semtech UDP page
438
Xiaoling 37.4 439
Xiaoling 88.8 440
Xiaoling 88.7 441 ==== (% style="color:blue" %)**Step 2: Configure the double server forwarding**(%%) ====
Xiaoling 1.2 442
Kilight Cao 83.1 443
Xiaoling 71.2 444 [[image:image-20220531180048-11.png]]
Xiaoling 1.2 445
446
Xiaoling 99.9 447 The user can configure the secondary server and then click the button of (% style="color:red" %)**Save&Apply**.
Xiaoling 1.2 448
Xiaoling 37.4 449
Xiaoling 99.2 450 == 2.10  Connect Full Hotspot to Helium ==
Xiaoling 88.17 451
Xiaoling 1.2 452
453
Xiaoling 99.2 454 = 3.  Use Dragino Sensors with Helium =
Xiaoling 1.2 455
Xiaoling 99.2 456 == 3.1  How to add up user's end-node with Helium console ==
Xiaoling 1.2 457
Xiaoling 99.2 458 === 3.1.1  Step 1: Login the Helium console ===
Xiaoling 1.2 459
Kilight Cao 83.1 460
461 //User can Login the [[Helium Console>>url:https://staging-console.helium.wtf/]]//
462
Xiaoling 72.2 463 [[image:image-20220531180150-12.png]]
Xiaoling 1.2 464
465 login Helium console
466
Xiaoling 37.4 467
Xiaoling 99.2 468 === 3.1.2  Step 2: Add up your end-node's key ===
Xiaoling 1.2 469
470
Xiaoling 99.9 471 User add up end-node's key from console ~-~->dervice
Kilight Cao 83.1 472
Xiaoling 73.2 473 [[image:image-20220531180224-13.png]]
Xiaoling 1.2 474
475 To add a device
476
Xiaoling 37.4 477
Xiaoling 99.2 478 === 3.1.3  Step 3: Activate the end-node ===
Xiaoling 1.2 479
Kilight Cao 83.1 480
Xiaoling 1.17 481 (((
Xiaoling 99.9 482 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 483 )))
Xiaoling 1.2 484
Xiaoling 59.2 485 [[image:image-20220531105239-2.png]]
Xiaoling 1.2 486
487 end-node traffic.
488
Xiaoling 59.2 489
Xiaoling 99.2 490 === 3.1.4 Check Raw Payload for End Node ===
Xiaoling 97.2 491
Xiaoling 1.2 492
Edwin Chen 95.1 493 Users can check what the end node has uplinked by checking the raw payload. as below:
494
Bei Jinggeng 97.1 495 [[image:image-20220912161818-1.png]]
Edwin Chen 95.1 496
497
Xiaoling 99.2 498 == 3.2  How to use decoder ==
Xiaoling 97.2 499
Xiaoling 99.2 500 === 3.2.1  Step 1: Users can create decoders on functions ===
Xiaoling 1.2 501
Kilight Cao 83.1 502
Xiaoling 60.2 503 [[image:image-20220531105325-3.png]]
Xiaoling 1.2 504
505 Decoder.
506
Xiaoling 60.3 507
Xiaoling 99.2 508 === 3.2.2  Step 2: Add a decoder in functions and apply it to the specified label ===
Xiaoling 1.2 509
Kilight Cao 83.1 510
Xiaoling 57.7 511 [[image:image-20220526095629-6.png]]
Xiaoling 1.2 512
513
Xiaoling 57.7 514 [[image:image-20220526095553-5.png]]
Xiaoling 1.2 515
Xiaoling 44.2 516
Xiaoling 57.7 517 [[image:image-20220526100057-8.png||height="352" width="1133"]]
Xiaoling 44.2 518
Kilight Cao 83.1 519 **//Add decoder complete.//**
Xiaoling 1.2 520
Xiaoling 44.2 521
Xiaoling 99.2 522 === 3.2.3  Where is the decoder? ===
Xiaoling 88.8 523
524
Bei Jinggeng 86.1 525 [[console-decoders/Dragino at master · helium/console-decoders · GitHub>>url:https://github.com/helium/console-decoders/tree/master/Dragino]]
526
527 [[image:image-20220617140118-1.png||height="550" width="883"]]
528
Xiaoling 1.2 529
Xiaoling 99.2 530 == 3.3  How to send a downlink to end device from Helium ==
Kilight Cao 83.1 531
Edwin Chen 104.1 532 The Helium server needs to convert to Base64 (**[[HEX to Base64 Online Tool>>https://base64.guru/converter/encode/hex]]**) format when sending the downlink command. Please refer to the following example:
Xiaoling 88.8 533
Xiaoling 99.9 534 The Downlink command comes from this link:[[End Device Downlink Command>>End Device AT Commands and Downlink Command]]
Xiaoling 1.2 535
Xiaoling 99.9 536 Change Uplink Interval:Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
Xiaoling 1.2 537
Xiaoling 1.17 538 (% class="box" %)
539 (((
Xiaoling 88.8 540 **01 00 00 3C ~-~-> AQAAPA==**
Xiaoling 1.17 541 )))
Xiaoling 1.2 542
Xiaoling 57.7 543 [[image:image-20220524171341-21.png]]
Xiaoling 1.2 544
545 Downlink
546
Xiaoling 46.2 547
Xiaoling 99.2 548 == 3.4  How to add integration to different IoT Servers ==
Xiaoling 1.2 549
Xiaoling 99.2 550 === 3.4.1  TagoIO ===
Xiaoling 1.2 551
552
Kilight Cao 83.1 553 **//The steps to add integration are very simple. Please see the following process.//**
554
555
Xiaoling 57.7 556 [[image:image-20220526102429-23.png||height="630" width="1198"]]
Xiaoling 1.2 557
558
Xiaoling 46.2 559
Kilight Cao 83.1 560 **//Generate the authorization code and then copy it.//**
Xiaoling 1.2 561
Kilight Cao 83.1 562
Xiaoling 57.7 563 [[image:image-20220526100452-10.png||height="314" width="1188"]]
Xiaoling 1.2 564
565
Xiaoling 46.2 566
Kilight Cao 83.1 567 //**Apply Integration to Label.**//
Xiaoling 1.2 568
Kilight Cao 83.1 569
Xiaoling 57.7 570 [[image:image-20220526100802-13.png]]
Xiaoling 1.2 571
Xiaoling 48.2 572
Xiaoling 1.2 573
Xiaoling 57.7 574 [[image:image-20220526100927-14.png]]
Xiaoling 48.2 575
Xiaoling 1.2 576
Xiaoling 48.2 577
Kilight Cao 83.1 578 **//Click LoRaWAN Helium,select the device.//**
Xiaoling 1.2 579
Kilight Cao 83.1 580
Xiaoling 57.7 581 [[image:image-20220526101215-15.png||height="599" width="1117"]]
Xiaoling 1.2 582
583
Xiaoling 50.2 584
Kilight Cao 83.1 585 **//Fill in DEVEUI and create my device.//**
Xiaoling 1.2 586
Kilight Cao 83.1 587
Xiaoling 57.7 588 [[image:image-20220526101419-16.png]]
Xiaoling 1.2 589
590 TagoIO.
591
Xiaoling 50.2 592
Xiaoling 99.2 593 === 3.4.2  Cayenne ===
Xiaoling 1.2 594
595
Xiaoling 99.9 596 The process of creating devices is similar to Tago.
Kilight Cao 83.1 597
Xiaoling 57.7 598 [[image:image-20220526101616-18.png||height="456" width="1097"]]
Xiaoling 1.2 599
600 Cayenne.
601
602
Xiaoling 57.7 603 [[image:image-20220526101547-17.png||height="656" width="1092"]]
Xiaoling 54.2 604
Xiaoling 1.2 605 Cayenne.
606
607
Xiaoling 57.7 608 [[image:image-20220526101702-19.png||height="528" width="1109"]]
Xiaoling 54.2 609
Xiaoling 1.2 610 Cayenne.
611
Xiaoling 54.2 612
Xiaoling 57.7 613 [[image:image-20220526102303-22.png]]
Xiaoling 1.2 614
615 Cayenne.
616
Xiaoling 54.2 617
Xiaoling 57.7 618 [[image:image-20220526102114-21.png]]
Xiaoling 1.2 619
620 Cayenne.
621
622
Xiaoling 57.7 623 [[image:image-20220526101940-20.png||height="543" width="1044"]]
Xiaoling 54.2 624
Xiaoling 1.2 625 Cayenne.
626
Xiaoling 54.2 627
Xiaoling 99.2 628 == 3.5  Trouble Shooting ==
Xiaoling 1.2 629
Xiaoling 99.2 630 === 3.5.1  Data-Only Hotspot is not connecting to Helium console ===
Xiaoling 1.2 631
Kilight Cao 83.1 632
Edwin Chen 93.1 633 //**The Data-only hotspot has finished the software installation and confirmation, But it is not connecting to Helium Console. The possibility is:**//
Xiaoye 91.1 634
635
Edwin Chen 93.1 636 1). The hotspot does not finish the onboarding to the helium blockchain.
Xiaoye 91.1 637
Xiaoye 92.1 638 after the 23 version of the gateway-rs, Helium requests the user to onboarding the devices to the blockchain, otherwise, your devices can't connect to the helium console. ~-~--> Please refer to [[Step 2.7>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20Helium/#H2.7A0Step6:OnboardingData-OnlyHotspot]] to do it.
Xiaoye 91.1 639
640
Xiaoling 99.4 641 === 3.5.2  End Device can't join Helium via hotspot, stuck in cycle of Joining-Accept. ===
Xiaoling 97.2 642
Xiaoye 91.1 643
Edwin Chen 93.1 644 Make sure your blockchain region is the same as your hotspot settings. For example, as below, the blockchain is CN region, and software is configure to EU. The hotspot is able to get the OTAA Join Request from End Device on EU region. but due to block chain is CN region, Server will send the Join -Accept in CN region, so end device can't get the OTAA Join Accept.
Xiaoye 91.1 645
646
Edwin Chen 93.1 647 For example, if you are in USA, you have to use the US915 frequency plan. More frequency plans details on the helium network: [[https:~~/~~/docs.helium.com/lorawan-on-helium/frequency-plans>>url:https://docs.helium.com/lorawan-on-helium/frequency-plans]]
Xiaoye 91.1 648
649
Xiaoling 99.2 650 === 3.5.3  Trouble to Join Helium ===
Xiaoye 91.1 651
652
Xiaoling 1.17 653 (((
Kilight Cao 83.1 654 **//Assume the device is powered correctly. If you don't see data in Helium. The possibilities are~://**
655
656
Xiaoling 1.17 657 )))
Xiaoling 1.2 658
Xiaoling 1.17 659 (((
Xiaoling 99.9 660 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 661 )))
Xiaoling 1.2 662
Xiaoling 1.17 663 (((
Xiaoling 99.9 664 2) Your end node frequency band doesn't match the Helium gateway frequency band. (Please double-check if frequency band matches)
Xiaoling 1.17 665 )))
Xiaoling 1.2 666
Xiaoling 1.17 667 (((
Xiaoling 99.9 668 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 669
670
Xiaoling 1.17 671 )))
Xiaoling 1.2 672
Xiaoling 99.2 673 === 3.5.4  Packet Loss for AU915 / US915 Band ===
Xiaoling 1.2 674
Kilight Cao 83.1 675
Xiaoling 1.17 676 (((
Xiaoling 99.9 677 The node working on the AU915/US915 frequency has packet loss or the frequency channel and the gateway channel are different.
Xiaoling 1.17 678 )))
Xiaoling 1.2 679
Xiaoling 1.17 680 (((
Xiaoling 99.9 681 The reason for this problem is that the node does not lock the channel after joining the network.
Xiaoling 88.8 682
683
Xiaoling 1.17 684 )))
Xiaoling 1.2 685
Xiaoling 1.17 686 (((
Xiaoling 88.14 687 (% style="color:red" %)**Solution:**
Kilight Cao 83.1 688
689
Xiaoling 1.17 690 )))
Xiaoling 1.2 691
Xiaoling 1.17 692 (((
Xiaoling 99.9 693 (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 694 )))
Xiaoling 1.2 695
Xiaoling 1.17 696 * (((
Xiaoling 99.9 697 (% style="color:blue" %)**AT Command: AT+CHE**
Xiaoling 1.17 698 )))
Xiaoling 1.2 699
Xiaoling 1.17 700 * (((
Xiaoling 99.9 701 **Example: ** (% style="color:#037691" %)**AT+CHE=2**(%%)  ~/~/set channel mode to 1
Xiaoling 1.17 702 )))
Xiaoling 1.2 703
Xiaoling 1.17 704 * (((
Xiaoling 99.9 705 (% style="color:blue" %)**Downlink Command: 0x24**
Xiaoling 88.9 706
707
Xiaoling 1.17 708 )))
Xiaoling 1.2 709
Xiaoling 1.17 710 (((
Xiaoling 99.9 711 Format: Command Code (0x24) followed by 1 bytes channel value.
Xiaoling 1.17 712 )))
Xiaoling 1.2 713
Xiaoling 88.9 714
Xiaoling 1.17 715 (((
Xiaoling 99.9 716 If the downlink payload=0x2402, it means set channel mode to use sub-band 2, while type code is 24.
Xiaoling 1.17 717 )))
Xiaoling 1.2 718
Xiaoling 1.17 719 * (((
Xiaoling 99.9 720 **Example 1**: Downlink Payload: (% style="color:#037691" %)**0x2402** (%%) ~/~/ set channel mode to 2
Xiaoling 1.2 721
Kilight Cao 83.1 722
Xiaoling 1.17 723 )))
Xiaoling 1.2 724
Xiaoling 1.17 725 (((
Xiaoling 99.9 726 (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 727 )))
Xiaoling 1.2 728
Xiaoling 1.17 729 (((
Xiaoling 99.9 730 The latest firmware for end node will have this bug fixed.
Edwin Chen 94.1 731
732
Xiaoling 99.2 733 === 3.5.5  ADR doesn't work in EU868 band. ===
Xiaoling 97.2 734
Edwin Chen 94.1 735
736 See possibility reason from this link: [[https:~~/~~/github.com/helium/router/issues/858 >>https://github.com/helium/router/issues/858]]
737
738
739
Xiaoling 1.17 740 )))
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0