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 | |||
20 | = 2. Support hardrware & Software = | ||
21 | |||
22 | |||
23 | {{velocity}} | ||
24 | $xwiki.ssfx.use("js/xwiki/table/table.css") | ||
25 | $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) | ||
26 | {{/velocity}} | ||
27 | |||
28 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1007.99px" %) | ||
29 | (% 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 | ||
30 | |(% style="width:177px" %)((( | ||
31 | [[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]] | ||
32 | )))|(% style="width:210px" %)LoRaWAN Gateway|(% style="width:283px" %)((( | ||
33 | * Linux OS: OpenWrt, | ||
34 | * CPU: 400MHz, | ||
35 | * Flash: 16MB, RAM: 64MB | ||
36 | )))|(% style="width:176px" %)((( | ||
37 | ((( | ||
38 | |||
39 | ))) | ||
40 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.1ForLIG162CLPS82CLPS8N2CLG3082CLG308N2CDLOS82CDLOS8N"]] | ||
41 | |(% style="width:177px" %)[[LPS8v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]|(% style="width:210px" %)LoRaWAN Gateway|(% style="width:283px" %)((( | ||
42 | * Linux OS: Armbian, | ||
43 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
44 | * RAM: 512MB | ||
45 | * eMMC: 4GB | ||
46 | )))|(% style="width:176px" %)((( | ||
47 | |||
48 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.2ForLPS8Nv2"]] | ||
49 | |(% 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" %)((( | ||
50 | * Linux OS: Armbian, | ||
51 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
52 | * RAM: 512MB | ||
53 | * eMMC: 4GB | ||
54 | )))|(% style="width:176px" %)((( | ||
55 | |||
56 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.3.ForLG01v2"]] | ||
57 | |||
58 | |||
59 | = 3. OTA Update Change Log = | ||
60 | |||
61 | == 3.1 For LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N == | ||
62 | |||
63 | Main code: | ||
64 | |||
65 | {{velocity}} | ||
66 | $xwiki.ssfx.use("js/xwiki/table/table.css") | ||
67 | $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) | ||
68 | {{/velocity}} | ||
69 | |||
70 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1007.99px" %) | ||
71 | (% 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 | ||
72 | |(% style="width:177px" %)((( | ||
73 | [[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]] | ||
74 | )))|(% style="width:210px" %)LoRaWAN Gateway|(% style="width:283px" %)((( | ||
75 | * Linux OS: OpenWrt, | ||
76 | * CPU: 400MHz, | ||
77 | * Flash: 16MB, RAM: 64MB | ||
78 | )))|(% style="width:176px" %)((( | ||
79 | ((( | ||
80 | |||
81 | ))) | ||
82 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.1ForLIG162CLPS82CLPS8N2CLG3082CLG308N2CDLOS82CDLOS8N"]] | ||
83 | |(% style="width:177px" %)[[LPS8v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]|(% style="width:210px" %)LoRaWAN Gateway|(% style="width:283px" %)((( | ||
84 | * Linux OS: Armbian, | ||
85 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
86 | * RAM: 512MB | ||
87 | * eMMC: 4GB | ||
88 | )))|(% style="width:176px" %)((( | ||
89 | |||
90 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.2ForLPS8Nv2"]] | ||
91 | |(% 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" %)((( | ||
92 | * Linux OS: Armbian, | ||
93 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
94 | * RAM: 512MB | ||
95 | * eMMC: 4GB | ||
96 | )))|(% style="width:176px" %)((( | ||
97 | |||
98 | )))|(% style="width:156px" %)[[Change Log>>||anchor="H3.3.ForLG01v2"]] | ||
99 | |||
100 | |||
101 | == 3.2 For LPS8Nv2 == | ||
102 | |||
103 | |||
104 | == 3.3. For LG01v2 == | ||
105 | |||
106 | |||
107 | == 3.4 TODO list == | ||
108 | |||
109 | |||
110 | * Solve "DC no in band" issue for Senet Downink in EU868 band. | ||
111 | * Add Fall Back IP to LPS8v2 | ||
112 | |||
113 | |||
114 | = 4. Disable OTA Update = | ||
115 | |||
116 | |||
117 | It is possible for clients to disable OTA update feature. Below is the instruction: | ||
118 | |||
119 | |||
120 | |||
121 | |||
122 | |||
123 | |||
124 |