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 | ||
2.1 | 19 | = 2. Support hardrware & Software = | |
1.2 | 20 | ||
2.1 | 21 | ||
6.3 | 22 | {{velocity}} | |
23 | $xwiki.ssfx.use("js/xwiki/table/table.css") | ||
24 | $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) | ||
25 | {{/velocity}} | ||
26 | |||
6.7 | 27 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1007.99px" %) | |
28 | (% class="sortHeader" %)|=(% style="width: 177px;" %)Models|=(% style="width: 210px;" %)Devices Type|=(% style="width: 283px;" %)OS, CPU Info|=(% style="width: 176px;" %)Firmware requirement|=(% style="width: 156px;" %)OTA Update Detail | ||
29 | |(% style="width:177px" %)((( | ||
6.4 | 30 | [[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]] | |
6.7 | 31 | )))|(% style="width:210px" %)LoRaWAN Gateway|(% style="width:283px" %)((( | |
6.6 | 32 | * Linux OS: OpenWrt, | |
33 | * CPU: 400MHz, | ||
34 | * Flash: 16MB, RAM: 64MB | ||
35 | )))|(% style="width:176px" %)((( | ||
6.3 | 36 | ((( | |
37 | |||
38 | ))) | ||
6.7 | 39 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.1ForLIG162CLPS82CLPS8N2CLG3082CLG308N2CDLOS82CDLOS8N"]] | |
40 | |(% style="width:177px" %)[[LPS8v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]|(% style="width:210px" %)LoRaWAN Gateway|(% style="width:283px" %)((( | ||
6.6 | 41 | * Linux OS: Armbian, | |
42 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
43 | * RAM: 512MB | ||
44 | * eMMC: 4GB | ||
45 | )))|(% style="width:176px" %)((( | ||
6.3 | 46 | ||
6.7 | 47 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.2ForLPS8Nv2"]] | |
48 | |(% style="width:177px" %)[[LG01v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/244-lg01v2.html]]|(% style="width:210px" %)Single Channel LoRa Gateway|(% style="width:283px" %)((( | ||
6.6 | 49 | * Linux OS: Armbian, | |
50 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
51 | * RAM: 512MB | ||
52 | * eMMC: 4GB | ||
53 | )))|(% style="width:176px" %)((( | ||
6.3 | 54 | ||
6.7 | 55 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.3.ForLG01v2"]] | |
2.1 | 56 | ||
4.1 | 57 | = 3. OTA Update Change Log = | |
58 | |||
59 | == 3.1 For LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N == | ||
60 | |||
10.1 | 61 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1280px" %) | |
62 | (% class="sortHeader" %)|=(% style="width: 177px;" %)Date|=(% style="width: 227px;" %)Main Packages|=(% style="width: 752px;" %)Change Log|=(% style="width: 70px;" %) |=(% style="width: 53px;" %) | ||
63 | |(% style="width:177px" %)((( | ||
64 | |||
4.1 | 65 | ||
12.1 | 66 | ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-- | |
9.1 | 67 | ||
10.1 | 68 | ||
69 | |||
70 | )))|(% style="width:227px" %)((( | ||
12.1 | 71 | ((( | |
10.1 | 72 | ||
73 | |||
12.1 | 74 | dragino_gw_fwd-2.6.0 | |
75 | ))) | ||
76 | |||
9.1 | 77 | ((( | |
78 | |||
79 | ))) | ||
12.1 | 80 | )))|(% style="width:752px" %)((( | |
81 | Basic versions | ||
82 | )))|(% style="width:70px" %)((( | ||
83 | ((( | ||
84 | |||
85 | ))) | ||
10.1 | 86 | )))|(% style="width:53px" %) | |
87 | |(% style="width:177px" %)((( | ||
9.1 | 88 | ||
10.1 | 89 | ||
12.1 | 90 | ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- | |
10.1 | 91 | ||
92 | |||
9.1 | 93 | ||
10.1 | 94 | )))|(% style="width:227px" %)((( | |
95 | |||
9.1 | 96 | ||
12.1 | 97 | haserl_ui-1.2.1 | |
98 | )))|(% style="width:752px" %)Basic version|(% style="width:70px" %)((( | ||
10.1 | 99 | ||
100 | )))|(% style="width:53px" %) | ||
12.1 | 101 | |(% style="width:177px" %)((( | |
10.1 | 102 | ||
12.1 | 103 | ||
104 | 22-09-16 | ||
105 | )))|(% style="width:227px" %)((( | ||
106 | |||
107 | |||
108 | dragino_gw_fwd-2.6.1 | ||
109 | |||
110 | |||
111 | |||
112 | )))|(% style="width:752px" %)((( | ||
113 | |||
114 | |||
115 | *Add lora global_config file for zn | ||
116 | )))|(% style="width:70px" %)((( | ||
117 | |||
10.1 | 118 | )))|(% style="width:53px" %) | |
12.1 | 119 | |(% style="width:177px" %)((( | |
120 | |||
9.1 | 121 | ||
12.1 | 122 | 22-11-16 | |
10.1 | 123 | ||
12.1 | 124 | ||
125 | |||
126 | )))|(% style="width:227px" %)((( | ||
127 | |||
128 | |||
129 | dragino_gw_fwd-2.6.3 | ||
130 | )))|(% style="width:752px" %)((( | ||
131 | |||
132 | |||
133 | *Optimize recycling threads | ||
134 | *Optimize log output | ||
135 | )))|(% style="width:70px" %) |(% style="width:53px" %) | ||
136 | |||
4.1 | 137 | == 3.2 For LPS8Nv2 == | |
138 | |||
10.1 | 139 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1280px" %) | |
140 | (% class="sortHeader" %)|=(% style="width: 177px;" %)Date|=(% style="width: 227px;" %)Main Packages |=(% style="width: 752px;" %)Change Log|=(% style="width: 70px;" %) |=(% style="width: 53px;" %) | ||
141 | |(% style="width:177px" %)((( | ||
142 | |||
4.1 | 143 | ||
12.1 | 144 | 2022-10-23 | |
145 | )))|(% style="width:227px" %)((( | ||
146 | |||
10.1 | 147 | ||
12.1 | 148 | draginofwd-22-10-23 | |
10.1 | 149 | ||
150 | |||
12.1 | 151 | )))|(% style="width:752px" %)((( | |
152 | |||
153 | |||
154 | *Fix i2c interface error ( for FWD) | ||
155 | )))|(% style="width:70px" %) |(% style="width:53px" %) | ||
156 | |(% style="width:177px" %)((( | ||
157 | |||
158 | |||
159 | 2022-12-02 | ||
160 | |||
161 | |||
162 | |||
10.1 | 163 | )))|(% style="width:227px" %)((( | |
164 | |||
165 | |||
12.1 | 166 | dragino-httpd | |
10.1 | 167 | )))|(% style="width:752px" %)((( | |
168 | |||
169 | |||
12.1 | 170 | *Add Login-Authentication | |
171 | )))|(% style="width:70px" %) |(% style="width:53px" %) | ||
10.1 | 172 | |(% style="width:177px" %)((( | |
173 | |||
174 | |||
12.1 | 175 | 2023-01-05 | |
10.1 | 176 | ||
177 | |||
178 | |||
179 | )))|(% style="width:227px" %)((( | ||
180 | |||
181 | |||
12.1 | 182 | dragino-ui | |
10.1 | 183 | )))|(% style="width:752px" %)((( | |
184 | |||
185 | |||
12.1 | 186 | *Add system/general page | |
10.1 | 187 | )))|(% style="width:70px" %)((( | |
12.1 | 188 | ((( | |
10.1 | 189 | ||
12.1 | 190 | ))) | |
10.1 | 191 | )))|(% style="width:53px" %) | |
192 | |(% style="width:177px" %)((( | ||
193 | |||
194 | |||
11.1 | 195 | 2022-01-6 | |
10.1 | 196 | ||
197 | |||
198 | )))|(% style="width:227px" %)((( | ||
199 | |||
200 | |||
11.1 | 201 | draginoups | |
202 | )))|(% style="width:752px" %)((( | ||
10.1 | 203 | ||
11.1 | 204 | ||
12.1 | 205 | *Add the fallback interface | |
11.1 | 206 | )))|(% style="width:70px" %)((( | |
207 | |||
10.1 | 208 | )))|(% style="width:53px" %) | |
12.1 | 209 | |(% style="width:177px" %) |(% style="width:227px" %) |(% style="width:752px" %) |(% style="width:70px" %)((( | |
210 | |||
211 | )))|(% style="width:53px" %) | ||
10.1 | 212 | ||
4.1 | 213 | == 3.3. For LG01v2 == | |
214 | |||
10.1 | 215 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1280px" %) | |
216 | (% class="sortHeader" %)|=(% style="width: 177px;" %)Date|=(% style="width: 227px;" %)Main Packages|=(% style="width: 752px;" %)Change Log|=(% style="width: 70px;" %) |=(% style="width: 53px;" %) | ||
217 | |(% style="width:177px" %)((( | ||
218 | |||
4.1 | 219 | ||
10.1 | 220 | ||
221 | |||
222 | |||
223 | )))|(% style="width:227px" %) |(% style="width:752px" %) |(% style="width:70px" %)((( | ||
224 | ((( | ||
225 | |||
226 | ))) | ||
227 | )))|(% style="width:53px" %) | ||
228 | |(% style="width:177px" %)((( | ||
229 | |||
230 | |||
231 | |||
232 | |||
233 | |||
234 | )))|(% style="width:227px" %) |(% style="width:752px" %) |(% style="width:70px" %)((( | ||
235 | |||
236 | )))|(% style="width:53px" %) | ||
237 | |(% style="width:177px" %) |(% style="width:227px" %) |(% style="width:752px" %) |(% style="width:70px" %)((( | ||
238 | |||
239 | )))|(% style="width:53px" %) | ||
240 | |||
7.1 | 241 | == 3.4 TODO list == | |
4.1 | 242 | ||
8.2 | 243 | ||
7.1 | 244 | * Solve "DC no in band" issue for Senet Downink in EU868 band. | |
12.1 | 245 | ||
246 | |||
247 | == 3.5 Finish list == | ||
248 | |||
8.1 | 249 | * Add Fall Back IP to LPS8v2 | |
12.1 | 250 | * Add Login-Authentication | |
7.1 | 251 | ||
4.1 | 252 | = 4. Disable OTA Update = | |
253 | |||
6.2 | 254 | ||
4.1 | 255 | It is possible for clients to disable OTA update feature. Below is the instruction: | |
6.2 | 256 | ||
257 | |||
258 | |||
259 | |||
260 | |||
261 | |||
262 |