Wiki source code of OTA Auto Update For Gateway Firmware
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **Table of Contents:** | ||
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
6 | |||
7 | |||
8 | |||
9 | = 1. What is OTA and how it works = | ||
10 | |||
11 | |||
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**. | ||
13 | |||
14 | In below case, gateway will connect to Dragino server to check for updates: | ||
15 | |||
16 | * Every reboot | ||
17 | * Every midnight (~~UTC time: 12:00) | ||
18 | |||
19 | = 2. Support hardrware & Software = | ||
20 | |||
21 | |||
22 | {{velocity}} | ||
23 | $xwiki.ssfx.use("js/xwiki/table/table.css") | ||
24 | $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) | ||
25 | {{/velocity}} | ||
26 | |||
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" %)((( | ||
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]] | ||
31 | )))|(% style="width:210px" %)LoRaWAN Gateway|(% style="width:283px" %)((( | ||
32 | * Linux OS: OpenWrt, | ||
33 | * CPU: 400MHz, | ||
34 | * Flash: 16MB, RAM: 64MB | ||
35 | )))|(% style="width:176px" %)((( | ||
36 | ((( | ||
37 | |||
38 | ))) | ||
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" %)((( | ||
41 | * Linux OS: Armbian, | ||
42 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
43 | * RAM: 512MB | ||
44 | * eMMC: 4GB | ||
45 | )))|(% style="width:176px" %)((( | ||
46 | |||
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" %)((( | ||
49 | * Linux OS: Armbian, | ||
50 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
51 | * RAM: 512MB | ||
52 | * eMMC: 4GB | ||
53 | )))|(% style="width:176px" %)((( | ||
54 | |||
55 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.3.ForLG01v2"]] | ||
56 | |||
57 | = 3. OTA Update Change Log = | ||
58 | |||
59 | == 3.1 For LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N == | ||
60 | |||
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 | |||
65 | |||
66 | |||
67 | |||
68 | |||
69 | )))|(% style="width:227px" %)((( | ||
70 | |||
71 | |||
72 | dragino_gw_fwd | ||
73 | )))|(% style="width:752px" %) |(% style="width:70px" %)((( | ||
74 | ((( | ||
75 | |||
76 | ))) | ||
77 | )))|(% style="width:53px" %) | ||
78 | |(% style="width:177px" %)((( | ||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | )))|(% style="width:227px" %)((( | ||
85 | |||
86 | |||
87 | haserl_ui | ||
88 | )))|(% style="width:752px" %) |(% style="width:70px" %)((( | ||
89 | |||
90 | )))|(% style="width:53px" %) | ||
91 | |(% style="width:177px" %) |(% style="width:227px" %) |(% style="width:752px" %) |(% style="width:70px" %)((( | ||
92 | |||
93 | )))|(% style="width:53px" %) | ||
94 | |||
95 | |||
96 | == 3.2 For LPS8Nv2 == | ||
97 | |||
98 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1280px" %) | ||
99 | (% class="sortHeader" %)|=(% style="width: 177px;" %)Date|=(% style="width: 227px;" %)Main Packages |=(% style="width: 752px;" %)Change Log|=(% style="width: 70px;" %) |=(% style="width: 53px;" %) | ||
100 | |(% style="width:177px" %)((( | ||
101 | |||
102 | |||
103 | 2023-01-04 | ||
104 | |||
105 | |||
106 | |||
107 | )))|(% style="width:227px" %)((( | ||
108 | |||
109 | |||
110 | dragino-ui | ||
111 | )))|(% style="width:752px" %)((( | ||
112 | |||
113 | |||
114 | *Add system/general page | ||
115 | )))|(% style="width:70px" %)((( | ||
116 | ((( | ||
117 | |||
118 | ))) | ||
119 | )))|(% style="width:53px" %) | ||
120 | |(% style="width:177px" %)((( | ||
121 | |||
122 | |||
123 | 2022-12-02 | ||
124 | |||
125 | |||
126 | |||
127 | )))|(% style="width:227px" %)((( | ||
128 | |||
129 | |||
130 | dragino-httpd | ||
131 | )))|(% style="width:752px" %)((( | ||
132 | |||
133 | |||
134 | *Add Login-Authentication | ||
135 | )))|(% style="width:70px" %)((( | ||
136 | |||
137 | )))|(% style="width:53px" %) | ||
138 | |(% style="width:177px" %)((( | ||
139 | |||
140 | |||
141 | 2022-01-6 | ||
142 | |||
143 | |||
144 | )))|(% style="width:227px" %)((( | ||
145 | |||
146 | |||
147 | draginoups | ||
148 | )))|(% style="width:752px" %)((( | ||
149 | |||
150 | |||
151 | *Add the fallback interfack | ||
152 | )))|(% style="width:70px" %)((( | ||
153 | |||
154 | )))|(% style="width:53px" %) | ||
155 | |||
156 | |||
157 | == 3.3. For LG01v2 == | ||
158 | |||
159 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1280px" %) | ||
160 | (% class="sortHeader" %)|=(% style="width: 177px;" %)Date|=(% style="width: 227px;" %)Main Packages|=(% style="width: 752px;" %)Change Log|=(% style="width: 70px;" %) |=(% style="width: 53px;" %) | ||
161 | |(% style="width:177px" %)((( | ||
162 | |||
163 | |||
164 | |||
165 | |||
166 | |||
167 | )))|(% style="width:227px" %) |(% style="width:752px" %) |(% style="width:70px" %)((( | ||
168 | ((( | ||
169 | |||
170 | ))) | ||
171 | )))|(% style="width:53px" %) | ||
172 | |(% style="width:177px" %)((( | ||
173 | |||
174 | |||
175 | |||
176 | |||
177 | |||
178 | )))|(% style="width:227px" %) |(% style="width:752px" %) |(% style="width:70px" %)((( | ||
179 | |||
180 | )))|(% style="width:53px" %) | ||
181 | |(% style="width:177px" %) |(% style="width:227px" %) |(% style="width:752px" %) |(% style="width:70px" %)((( | ||
182 | |||
183 | )))|(% style="width:53px" %) | ||
184 | |||
185 | == 3.4 TODO list == | ||
186 | |||
187 | |||
188 | * Solve "DC no in band" issue for Senet Downink in EU868 band. | ||
189 | * Add Fall Back IP to LPS8v2 | ||
190 | |||
191 | = 4. Disable OTA Update = | ||
192 | |||
193 | |||
194 | It is possible for clients to disable OTA update feature. Below is the instruction: | ||
195 | |||
196 | |||
197 | |||
198 | |||
199 | |||
200 | |||
201 |