Skip to content

Commit a8c8a70

Browse files
committed
removed deprecated configuration _STORE_MEASUREMENT_IF_FAILED_CONNECTION. It is by default on to avoid data loss due to wrong configuration
1 parent dd25928 commit a8c8a70

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

insighioNode/lib/utils/configuration_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def setApplicationName(newName="demo_console"):
138138
"_FORCE_ALWAYS_ON_CONNECTION": "force_always_on_connection",
139139
"_ALWAYS_ON_PERIOD": "always_on_period",
140140
"_MEAS_GPS_NO_FIX_NO_UPLOAD": "meas_gps_no_fix_no_upload",
141-
"_STORE_MEASUREMENT_IF_FAILED_CONNECTION": "store_meas_if_failed_conn",
142141
"_4_20_SNSR_1_ENABLE": "meas_4_20_snsr_1_enable",
143142
"_4_20_SNSR_1_FORMULA": "meas_4_20_snsr_1_formula",
144143
"_4_20_SNSR_2_ENABLE": "meas_4_20_snsr_2_enable",

webui/src/views/Step-4-Measurements.vue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<SSwitch label="Board statistics" v-model:value="boardStat" />
1313
<SSwitch label="Network statistics" v-model:value="networkStat" />
1414
<SSwitch label="Board humidity/temperature" v-model:value="boardSense" />
15-
<SSwitch label="Store measurements if failed connection" v-model:value="storeMeasIfFailedConn" />
1615
<SSelect
1716
label="Temperature unit"
1817
v-model:value="temperatureUnitIsCelsius"
@@ -175,7 +174,6 @@ export default {
175174
boardStat: false,
176175
networkStat: true,
177176
otaEnabled: true,
178-
storeMeasIfFailedConn: true,
179177
temperatureUnitIsCelsius: true,
180178
gpsEnabled: true,
181179
gpsTimeout: 120,
@@ -271,8 +269,6 @@ export default {
271269
this.gpsNoFixNoUpload = this.strToJSValue(this.$storage.get("meas-gps-no-fix-no-upload"), false)
272270
this.gpsOnlyOnBoot = this.strToJSValue(this.$storage.get("meas-gps-only-on-boot"), true)
273271
274-
this.storeMeasIfFailedConn = this.strToJSValue(this.$storage.get("store-meas-if-failed-conn"), true)
275-
276272
this.systemSettings = this.getJsonObjectFromCookies("system-settings")
277273
? this.getJsonObjectFromCookies("system-settings")
278274
: this.systemDefaultSettings
@@ -312,7 +308,6 @@ export default {
312308
this.$storage.remove("selected-shield")
313309
this.$storage.remove("system-enable-ota")
314310
this.$storage.remove("meas-keyvalue")
315-
this.$storage.remove("store-meas-if-failed-conn")
316311
this.$storage.remove("system-settings")
317312
this.$storage.remove("request_fs_optimization")
318313
},
@@ -334,8 +329,6 @@ export default {
334329
this.$storage.set("meas-gps-no-fix-no-upload", this.boolToPyStr(this.gpsNoFixNoUpload))
335330
this.$storage.set("meas-gps-only-on-boot", this.boolToPyStr(this.gpsOnlyOnBoot))
336331
337-
this.$storage.set("store-meas-if-failed-conn", this.boolToPyStr(this.storeMeasIfFailedConn))
338-
339332
this.$storage.set("meas-keyvalue", this.getKeyValuePairs())
340333
341334
let selectedShield = this.activeTab

0 commit comments

Comments
 (0)