Wiki source code of OTA Auto Update For Gateway Firmware
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
5.1 | 1 | **Table of Contents:** |
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
![]() |
2.1 | 9 | = 1. What is OTA and how it works = |
![]() |
1.2 | 10 | |
![]() |
6.2 | 11 | |
![]() |
6.6 | 12 | Dragino gateways support firmware OTA auto-update. In OTA update, the gateway will connect to Dragino update server and get the latest firmware and update it to the gateway for (% style="color:blue" %)**bug fix** (%%)and (% style="color:blue" %)**new features**. |
![]() |
1.2 | 13 | |
![]() |
2.1 | 14 | In below case, gateway will connect to Dragino server to check for updates: |
![]() |
1.2 | 15 | |
![]() |
2.1 | 16 | * Every reboot |
17 | * Every midnight (~~UTC time: 12:00) | ||
![]() |
1.2 | 18 | |
![]() |
25.3 | 19 | (% style="display:none" %) |
![]() |
25.2 | 20 | |
![]() |
25.3 | 21 | |
![]() |
27.3 | 22 | |
![]() |
2.1 | 23 | = 2. Support hardrware & Software = |
![]() |
1.2 | 24 | |
![]() |
2.1 | 25 | |
![]() |
6.3 | 26 | {{velocity}} |
27 | $xwiki.ssfx.use("js/xwiki/table/table.css") | ||
28 | $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) | ||
29 | {{/velocity}} | ||
30 | |||
![]() |
27.2 | 31 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f2f2f2; width:1191.22px" %) |
32 | (% class="sortHeader" %)|=(% style="width: 247px;background-color:#D9E2F3" %)Models|=(% style="width: 222px;background-color:#D9E2F3" %)Devices Type|=(% style="width: 317px;background-color:#D9E2F3" %)OS, CPU Info|=(% style="width: 223px;background-color:#D9E2F3" %)Firmware requirement|=(% style="width: 178px;background-color:#D9E2F3" %)OTA Update Detail | ||
![]() |
23.3 | 33 | |(% style="width:247px" %)((( |
![]() |
6.4 | 34 | [[LIG16>>https://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]],[[LPS8>>https://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]], [[LPS8N>>https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], [[LG308>>https://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[LG308N>>https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]], [[DLOS8>>https://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]], [[DLOS8N** **>>https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]] |
![]() |
23.3 | 35 | )))|(% style="width:222px" %)LoRaWAN Gateway|(% style="width:317px" %)((( |
![]() |
6.6 | 36 | * Linux OS: OpenWrt, |
37 | * CPU: 400MHz, | ||
38 | * Flash: 16MB, RAM: 64MB | ||
![]() |
23.3 | 39 | )))|(% style="width:223px" %)((( |
![]() |
6.3 | 40 | ((( |
41 | |||
42 | ))) | ||
![]() |
23.3 | 43 | )))|(% style="width:178px" %)[[Change Log>>||anchor="H3.1ForLIG162CLPS82CLPS8N2CLG3082CLG308N2CDLOS82CDLOS8N"]] |
44 | |(% style="width:247px" %)[[LPS8v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]|(% style="width:222px" %)LoRaWAN Gateway|(% style="width:317px" %)((( | ||
![]() |
6.6 | 45 | * Linux OS: Armbian, |
46 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
47 | * RAM: 512MB | ||
48 | * eMMC: 4GB | ||
![]() |
23.3 | 49 | )))|(% style="width:223px" %)((( |
![]() |
6.3 | 50 | |
![]() |
23.3 | 51 | )))|(% style="width:178px" %)[[Change Log>>||anchor="H3.2ForLPS8Nv2"]] |
52 | |(% style="width:247px" %)[[LG01v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/244-lg01v2.html]]|(% style="width:222px" %)Single Channel LoRa Gateway|(% style="width:317px" %)((( | ||
![]() |
6.6 | 53 | * Linux OS: Armbian, |
54 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
55 | * RAM: 512MB | ||
56 | * eMMC: 4GB | ||
![]() |
23.3 | 57 | )))|(% style="width:223px" %)((( |
![]() |
6.3 | 58 | |
![]() |
23.3 | 59 | )))|(% style="width:178px" %)[[Change Log>>||anchor="H3.3.ForLG01v2"]] |
![]() |
2.1 | 60 | |
![]() |
25.3 | 61 | (% style="display:none" %) |
![]() |
25.2 | 62 | |
![]() |
25.3 | 63 | |
![]() |
27.3 | 64 | |
![]() |
4.1 | 65 | = 3. OTA Update Change Log = |
66 | |||
67 | == 3.1 For LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N == | ||
68 | |||
69 | |||
![]() |
23.3 | 70 | (% border="1" cellspacing="5" style="width:602.222px" %) |
71 | |(% style="background-color:#d9e2f3; color:#0070c0; width:106px" %)**Date**|(% style="background-color:#d9e2f3; color:#0070c0; width:182px" %)**Main Packages**|(% style="background-color:#d9e2f3; color:#0070c0; width:287px" %)**Change Log** | ||
72 | |(% style="background-color:#f2f2f2; width:106px" %)~-~-~-~-~-~-~-~-~-~-~-~-|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.6.0|(% style="background-color:#f2f2f2; width:287px" %)((( | ||
73 | * Basic versions | ||
74 | ))) | ||
75 | |(% style="background-color:#f2f2f2; width:106px" %)~-~-~-~-~-~-~-~-~-~-~-~-|(% style="background-color:#f2f2f2; width:182px" %)haserl_ui-1.2.1|(% style="background-color:#f2f2f2; width:287px" %)((( | ||
76 | * Basic versions | ||
77 | ))) | ||
78 | |(% style="background-color:#f2f2f2; width:106px" %)22-09-16|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.6.1|(% style="background-color:#f2f2f2; width:287px" %)((( | ||
79 | * Add lora global_config file for zn | ||
80 | ))) | ||
81 | |(% style="background-color:#f2f2f2; width:106px" %)22-11-16|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.6.3|(% style="background-color:#f2f2f2; width:287px" %)((( | ||
82 | * Optimize recycling threads | ||
83 | * Optimize log output | ||
84 | ))) | ||
![]() |
30.1 | 85 | |(% style="background-color:#f2f2f2; width:106px" %)23-04-25|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.6.4|(% style="background-color:#f2f2f2; width:287px" %)((( |
86 | * Fixed Semtech UDP mode lost connection issue | ||
87 | ))) | ||
![]() |
36.1 | 88 | |(% style="background-color:#f2f2f2; width:106px" %)23-08-01|(% style="background-color:#f2f2f2; width:182px" %)dragino_gw_fwd-2.7.0|(% style="background-color:#f2f2f2; width:287px" %)((( |
89 | * Fixed Cellular mode lost connection issue | ||
90 | ))) | ||
![]() |
30.1 | 91 | |(% style="background-color:#f2f2f2; width:106px" %) |(% style="background-color:#f2f2f2; width:182px" %) |(% style="background-color:#f2f2f2; width:287px" %) |
![]() |
9.1 | 92 | |
![]() |
25.3 | 93 | (% style="display:none" %) |
94 | |||
95 | |||
![]() |
27.3 | 96 | |
![]() |
4.1 | 97 | == 3.2 For LPS8Nv2 == |
98 | |||
99 | |||
![]() |
23.3 | 100 | (% border="1" cellspacing="5" style="width:770.222px" %) |
101 | |(% style="background-color:#d9e2f3; color:#0070c0; width:118px" %)**Date**|(% style="background-color:#d9e2f3; color:#0070c0; width:255px" %)**Main Packages**|(% style="background-color:#d9e2f3; color:#0070c0; width:383px" %)**Change Log** | ||
102 | |(% style="background-color:#f2f2f2; width:118px" %)2022-10-23|(% style="background-color:#f2f2f2; width:255px" %)draginofwd-22-10-23|(% style="background-color:#f2f2f2; width:383px" %)((( | ||
103 | * Fix i2c interface error ( for FWD) | ||
104 | ))) | ||
105 | |(% style="background-color:#f2f2f2; width:118px" %)2023-01-06|(% style="background-color:#f2f2f2; width:255px" %)((( | ||
![]() |
16.1 | 106 | dragino-httpd |
![]() |
10.1 | 107 | |
![]() |
16.1 | 108 | dragino-ui |
![]() |
10.1 | 109 | |
![]() |
16.1 | 110 | draginoups |
![]() |
23.3 | 111 | )))|(% style="background-color:#f2f2f2; width:383px" %)((( |
112 | * Add Login-Authentication | ||
113 | * Add system/general page | ||
114 | * Add the fallback interface | ||
![]() |
16.1 | 115 | ))) |
![]() |
23.3 | 116 | |(% style="background-color:#f2f2f2; width:118px" %)2023-01-10|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
117 | * Add timezone setting | ||
118 | * Add Static IP setting with WLAN | ||
119 | * Add the http/ssh port setting | ||
120 | * Optimized built-in server updates | ||
121 | * Fix the basic station display with the EUI | ||
![]() |
17.1 | 122 | ))) |
![]() |
23.3 | 123 | |(% style="background-color:#f2f2f2; width:118px" %)2023-02-08|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
124 | * add the edit the address of fallback | ||
125 | * Add Static IP setting with ETH | ||
![]() |
20.1 | 126 | ))) |
![]() |
23.3 | 127 | |(% style="background-color:#f2f2f2; width:118px" %)2023-02-16|(% style="background-color:#f2f2f2; width:255px" %)armbian-bsp-cli-draginohp0z|(% style="background-color:#f2f2f2; width:383px" %)((( |
128 | * Optimization Auto Update | ||
129 | * Add the docker cache clean | ||
130 | ))) | ||
![]() |
25.1 | 131 | |(% style="background-color:#f2f2f2; width:118px" %)2023-03-18|(% style="background-color:#f2f2f2; width:255px" %)((( |
132 | dragino-ui | ||
133 | |||
134 | draginofwd | ||
135 | )))|(% style="background-color:#f2f2f2; width:383px" %)((( | ||
136 | * Fix LoRaWAN lost connection with the server, not being displayed correctly | ||
![]() |
26.1 | 137 | * Optimized the IoT keepalive detection.((( |
![]() |
25.1 | 138 | When the gateway's network is unreachable, the sys led will switch to red and wait for the network to recover |
139 | Once the network is back in access, the gateway will reload the running server(draginofwd) | ||
140 | ))) | ||
141 | ))) | ||
![]() |
26.1 | 142 | |(% style="background-color:#f2f2f2; width:118px" %)2023-04-10|(% style="background-color:#f2f2f2; width:255px" %)((( |
143 | dragino-ui | ||
144 | |||
145 | dragino-fwd | ||
146 | |||
147 | draginohtppd | ||
148 | )))|(% style="background-color:#f2f2f2; width:383px" %)((( | ||
149 | * Fixed the wifi survey doesn't show the complete SSID | ||
150 | * Fixed the LoRa global config of IN865 which is missing a frequency point | ||
151 | * Fixed the LoRa frequency band type of AS923 | ||
152 | * Fixed lighttpd takes up a lot of CPU. | ||
153 | ))) | ||
![]() |
27.1 | 154 | |(% style="background-color:#f2f2f2; width:118px" %)2023-04-18|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
155 | * Optimized the General page | ||
156 | ))) | ||
![]() |
28.1 | 157 | |(% style="background-color:#f2f2f2; width:118px" %)2023-5-04|(% style="background-color:#f2f2f2; width:255px" %)dragnoups|(% style="background-color:#f2f2f2; width:383px" %)((( |
158 | * Fixed block broken problem | ||
159 | ))) | ||
![]() |
29.1 | 160 | |(% style="background-color:#f2f2f2; width:118px" %)2023-05-06|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
161 | * Update Package Filrer ruler | ||
162 | * Update Stat package interval setting | ||
163 | ))) | ||
![]() |
30.1 | 164 | |(% style="background-color:#f2f2f2; width:118px" %)2023-05-23|(% style="background-color:#f2f2f2; width:255px" %)((( |
165 | dragino-ui | ||
![]() |
18.3 | 166 | |
![]() |
30.1 | 167 | draginoups |
168 | )))|(% style="background-color:#f2f2f2; width:383px" %)((( | ||
169 | * Add the AP function | ||
170 | * Fix the incomplete display of 4g icon information | ||
171 | * | ||
172 | ))) | ||
![]() |
31.1 | 173 | |(% style="background-color:#f2f2f2; width:118px" %)2023-06-14|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
174 | * Update the Web page for the built-in server | ||
175 | ))) | ||
![]() |
32.1 | 176 | |(% style="background-color:#f2f2f2; width:118px" %)2023-06-30|(% style="background-color:#f2f2f2; width:255px" %)((( |
177 | dragino-ui | ||
178 | |||
179 | draginoups | ||
180 | )))|(% style="background-color:#f2f2f2; width:383px" %)((( | ||
181 | * Optimized resource consumption | ||
182 | * Fix the gateway downtime bug | ||
183 | ))) | ||
![]() |
33.1 | 184 | |(% style="background-color:#f2f2f2; width:118px" %)2023-07-08|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
185 | * Fix the Home page cellular icon display error | ||
186 | ))) | ||
![]() |
34.1 | 187 | |(% style="background-color:#f2f2f2; width:118px" %)2023-07-14|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
188 | * Reduce the memory usage of web UI | ||
189 | ))) | ||
![]() |
35.1 | 190 | |(% style="background-color:#f2f2f2; width:118px" %)2023-07-16|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
![]() |
37.1 | 191 | * Fixed the issue of cellular consuming a lot of data |
![]() |
35.1 | 192 | ))) |
![]() |
37.1 | 193 | |(% style="background-color:#f2f2f2; width:118px" %)2023-08-01|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
194 | * Fixed the issue of cellular Pinconde settings | ||
195 | ))) | ||
![]() |
38.1 | 196 | |(% style="background-color:#f2f2f2; width:118px" %)2023-08-05|(% style="background-color:#f2f2f2; width:255px" %)draginofwd|(% style="background-color:#f2f2f2; width:383px" %)((( |
197 | * Fixed the server connection status detection | ||
198 | ))) | ||
![]() |
41.1 | 199 | |(% style="background-color:#f2f2f2; width:118px" %)2023-10-24|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
![]() |
42.1 | 200 | * Fixed Uable install Chirpstack |
![]() |
41.1 | 201 | ))) |
![]() |
42.1 | 202 | |(% style="background-color:#f2f2f2; width:118px" %)2023-11-06|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
203 | * Add reset data for Chirpstack | ||
204 | ))) | ||
![]() |
43.1 | 205 | |(% style="background-color:#f2f2f2; width:118px" %)2023-11-26|(% style="background-color:#f2f2f2; width:255px" %)dragino-ui|(% style="background-color:#f2f2f2; width:383px" %)((( |
206 | * Fixed the issue unable to disable ssh | ||
207 | ))) | ||
![]() |
31.1 | 208 | |(% style="background-color:#f2f2f2; width:118px" %) |(% style="background-color:#f2f2f2; width:255px" %) |(% style="background-color:#f2f2f2; width:383px" %) |
![]() |
41.1 | 209 | |(% style="background-color:#f2f2f2; width:118px" %) |(% style="background-color:#f2f2f2; width:255px" %) |(% style="background-color:#f2f2f2; width:383px" %) |
210 | |(% style="background-color:#f2f2f2; width:118px" %) |(% style="background-color:#f2f2f2; width:255px" %) |(% style="background-color:#f2f2f2; width:383px" %) | ||
![]() |
30.1 | 211 | |
![]() |
25.3 | 212 | (% style="display:none" %) |
213 | |||
214 | |||
![]() |
27.3 | 215 | |
![]() |
18.2 | 216 | == 3.3 For LG01v2 == |
![]() |
4.1 | 217 | |
218 | |||
![]() |
23.3 | 219 | (% border="1" cellspacing="5" style="width:774.222px" %) |
220 | |(% style="background-color:#d9e2f3; color:#0070c0; width:126px" %)**Date**|(% style="background-color:#d9e2f3; color:#0070c0; width:252px" %)**Main Packages**|(% style="background-color:#d9e2f3; color:#0070c0; width:392px" %)**Change Log** | ||
221 | |(% style="background-color:#f2f2f2; width:126px" %) |(% style="background-color:#f2f2f2; width:252px" %) |(% style="background-color:#f2f2f2; width:392px" %) | ||
222 | |(% style="background-color:#f2f2f2; width:126px" %) |(% style="background-color:#f2f2f2; width:252px" %) |(% style="background-color:#f2f2f2; width:392px" %) | ||
![]() |
10.1 | 223 | |
![]() |
25.3 | 224 | (% style="display:none" %) |
225 | |||
226 | |||
![]() |
27.3 | 227 | |
![]() |
7.1 | 228 | == 3.4 TODO list == |
![]() |
4.1 | 229 | |
![]() |
8.2 | 230 | |
![]() |
26.1 | 231 | * --Solve "DC no in band" issue for Senet Downink in EU868 band.-- |
232 | * --Fixed fwd IN865 global configuration.-- | ||
233 | * --Fixed Basic-station no connection after gateway reboot/power cycle.-- | ||
234 | * --Fix GPS time issue-- | ||
235 | * --Online/offline detect and reload improvement for LPS8v2 for UDP Connection.-- | ||
236 | * --Online/offline detect and reload improvement for LPS8v2 for Chirpstack Gateway-Bridge Connection-- | ||
![]() |
23.1 | 237 | * Fix Redis Memory Leak for build-in TTS |
![]() |
26.1 | 238 | * --Fix AS923 Frequency Band Typo in Web (LPS8v2)-- |
![]() |
12.1 | 239 | |
![]() |
25.3 | 240 | (% style="display:none" %) |
241 | |||
242 | |||
![]() |
27.3 | 243 | |
![]() |
12.1 | 244 | == 3.5 Finish list == |
245 | |||
![]() |
15.3 | 246 | |
![]() |
8.1 | 247 | * Add Fall Back IP to LPS8v2 |
![]() |
12.1 | 248 | * Add Login-Authentication |
![]() |
7.1 | 249 | |
![]() |
25.3 | 250 | (% style="display:none" %) |
251 | |||
252 | |||
![]() |
27.3 | 253 | |
![]() |
4.1 | 254 | = 4. Disable OTA Update = |
255 | |||
![]() |
6.2 | 256 | |
![]() |
40.1 | 257 | It is possible for clients to disable the OTA update feature. Below is the instruction: |
![]() |
6.2 | 258 | |
259 | |||
![]() |
41.1 | 260 | === LPS8V2: === |
![]() |
6.2 | 261 | |
![]() |
40.1 | 262 | [[image:image-20230830104754-1.png||height="472" width="878"]] |
![]() |
6.2 | 263 | |
264 | |||
![]() |
40.1 | 265 | |
266 | |||
267 | |||
![]() |
6.2 | 268 |