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 | |
![]() |
18.2 | 19 | |
20 | |||
![]() |
2.1 | 21 | = 2. Support hardrware & Software = |
![]() |
1.2 | 22 | |
![]() |
2.1 | 23 | |
![]() |
6.3 | 24 | {{velocity}} |
25 | $xwiki.ssfx.use("js/xwiki/table/table.css") | ||
26 | $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true) | ||
27 | {{/velocity}} | ||
28 | |||
![]() |
15.4 | 29 | (% border="1" cellspacing="10" class="doOddEven filterable grid sortable" id="tableid" style="background-color:#f7faff; width:1146px" %) |
30 | (% class="sortHeader" %)|=(% style="width: 319px;" %)Models|=(% style="width: 224px;" %)Devices Type|=(% style="width: 286px;" %)OS, CPU Info|=(% style="width: 171px;" %)Firmware requirement|=(% style="width: 136px;" %)OTA Update Detail | ||
![]() |
14.1 | 31 | |(% style="width:319px" %)((( |
![]() |
6.4 | 32 | [[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]] |
![]() |
15.4 | 33 | )))|(% style="width:224px" %)LoRaWAN Gateway|(% style="width:286px" %)((( |
![]() |
6.6 | 34 | * Linux OS: OpenWrt, |
35 | * CPU: 400MHz, | ||
36 | * Flash: 16MB, RAM: 64MB | ||
![]() |
15.4 | 37 | )))|(% style="width:171px" %)((( |
![]() |
6.3 | 38 | ((( |
39 | |||
40 | ))) | ||
![]() |
15.4 | 41 | )))|(% style="width:136px" %)[[Change Log>>||anchor="H3.1ForLIG162CLPS82CLPS8N2CLG3082CLG308N2CDLOS82CDLOS8N"]] |
42 | |(% style="width:319px" %)[[LPS8v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]]|(% style="width:224px" %)LoRaWAN Gateway|(% style="width:286px" %)((( | ||
![]() |
6.6 | 43 | * Linux OS: Armbian, |
44 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
45 | * RAM: 512MB | ||
46 | * eMMC: 4GB | ||
![]() |
15.4 | 47 | )))|(% style="width:171px" %)((( |
![]() |
6.3 | 48 | |
![]() |
15.4 | 49 | )))|(% style="width:136px" %)[[Change Log>>||anchor="H3.2ForLPS8Nv2"]] |
50 | |(% style="width:319px" %)[[LG01v2>>https://www.dragino.com/products/lora-lorawan-gateway/item/244-lg01v2.html]]|(% style="width:224px" %)Single Channel LoRa Gateway|(% style="width:286px" %)((( | ||
![]() |
6.6 | 51 | * Linux OS: Armbian, |
52 | * CPU: Quad-core Cortex-A7 1.2Ghz | ||
53 | * RAM: 512MB | ||
54 | * eMMC: 4GB | ||
![]() |
15.4 | 55 | )))|(% style="width:171px" %)((( |
![]() |
6.3 | 56 | |
![]() |
15.4 | 57 | )))|(% style="width:136px" %)[[Change Log>>||anchor="H3.3.ForLG01v2"]] |
![]() |
2.1 | 58 | |
![]() |
18.2 | 59 | |
60 | |||
![]() |
4.1 | 61 | = 3. OTA Update Change Log = |
62 | |||
63 | == 3.1 For LIG16,LPS8, LPS8N, LG308, LG308N, DLOS8, DLOS8N == | ||
64 | |||
65 | |||
![]() |
15.5 | 66 | (% border="1" cellspacing="5" style="background-color:#f7faff; width:544px" %) |
67 | |(% style="width:106px" %)**Date**|(% style="width:183px" %)**Main Packages**|(% style="width:251px" %)**Change Log** | ||
68 | |(% style="width:106px" %)~-~-~-~-~-~-~-~-~-~-~-~-|(% style="width:183px" %)dragino_gw_fwd-2.6.0|(% style="width:251px" %)Basic versions | ||
69 | |(% style="width:106px" %)~-~-~-~-~-~-~-~-~-~-~-~-|(% style="width:183px" %)haserl_ui-1.2.1|(% style="width:251px" %)Basic versions | ||
70 | |(% style="width:106px" %)22-09-16|(% style="width:183px" %)dragino_gw_fwd-2.6.1|(% style="width:251px" %)Add lora global_config file for zn | ||
71 | |(% style="width:106px" %)22-11-16|(% style="width:183px" %)dragino_gw_fwd-2.6.3|(% style="width:251px" %)Optimize recycling threads | ||
![]() |
15.2 | 72 | Optimize log output |
![]() |
9.1 | 73 | |
![]() |
18.2 | 74 | |
75 | |||
![]() |
4.1 | 76 | == 3.2 For LPS8Nv2 == |
77 | |||
78 | |||
![]() |
17.1 | 79 | (% border="1" cellspacing="5" style="background-color:#f7faff; width:581px" %) |
80 | |(% style="width:110px" %)**Date**|(% style="width:180px" %)**Main Packages**|(% style="width:286px" %)**Change Log** | ||
81 | |(% style="width:110px" %)2022-10-23|(% style="width:180px" %)draginofwd-22-10-23|(% style="width:286px" %)Fix i2c interface error ( for FWD) | ||
![]() |
16.1 | 82 | |(% style="width:110px" %)2023-01-06|(% style="width:180px" %)((( |
83 | dragino-httpd | ||
![]() |
10.1 | 84 | |
![]() |
16.1 | 85 | dragino-ui |
![]() |
10.1 | 86 | |
![]() |
16.1 | 87 | draginoups |
![]() |
17.1 | 88 | )))|(% style="width:286px" %)((( |
![]() |
16.1 | 89 | Add Login-Authentication |
![]() |
15.3 | 90 | |
![]() |
16.1 | 91 | Add system/general page |
92 | |||
93 | Add the fallback interface | ||
94 | ))) | ||
![]() |
18.1 | 95 | |(% style="width:110px" %)2023-01-10|(% style="width:180px" %)dragino-ui|(% style="width:286px" %)((( |
![]() |
17.1 | 96 | Add timezone setting |
![]() |
16.1 | 97 | |
![]() |
17.1 | 98 | Add Static IP setting with WLAN/ETH |
![]() |
16.1 | 99 | |
![]() |
17.1 | 100 | Add the http/ssh port setting |
101 | |||
102 | Optimized built-in server updates | ||
103 | |||
104 | Fix the basic station display with the EUI | ||
105 | |||
106 | |||
107 | ))) | ||
108 | |(% style="width:110px" %) |(% style="width:180px" %) |(% style="width:286px" %) | ||
109 | |||
![]() |
18.3 | 110 | |
111 | |||
![]() |
18.2 | 112 | == 3.3 For LG01v2 == |
![]() |
4.1 | 113 | |
114 | |||
![]() |
15.5 | 115 | (% border="1" cellspacing="5" style="background-color:#f7faff; width:550px" %) |
116 | |(% style="width:116px" %)**Date**|(% style="width:186px" %)**Main Packages**|(% style="width:244px" %)**Change Log** | ||
117 | |(% style="width:116px" %) |(% style="width:186px" %) |(% style="width:244px" %) | ||
118 | |(% style="width:116px" %) |(% style="width:186px" %) |(% style="width:244px" %) | ||
![]() |
10.1 | 119 | |
![]() |
18.2 | 120 | |
121 | |||
![]() |
7.1 | 122 | == 3.4 TODO list == |
![]() |
4.1 | 123 | |
![]() |
8.2 | 124 | |
![]() |
7.1 | 125 | * Solve "DC no in band" issue for Senet Downink in EU868 band. |
![]() |
12.1 | 126 | |
![]() |
18.2 | 127 | |
128 | |||
![]() |
12.1 | 129 | == 3.5 Finish list == |
130 | |||
![]() |
15.3 | 131 | |
![]() |
8.1 | 132 | * Add Fall Back IP to LPS8v2 |
![]() |
12.1 | 133 | * Add Login-Authentication |
![]() |
7.1 | 134 | |
![]() |
18.2 | 135 | |
136 | |||
![]() |
4.1 | 137 | = 4. Disable OTA Update = |
138 | |||
![]() |
6.2 | 139 | |
![]() |
4.1 | 140 | It is possible for clients to disable OTA update feature. Below is the instruction: |
![]() |
6.2 | 141 | |
142 | |||
143 | |||
144 | |||
145 | |||
146 | |||
147 |