Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Commit

Permalink
remove phone_sds_timeout_sec
Browse files Browse the repository at this point in the history
  • Loading branch information
mkinney committed Apr 18, 2022
1 parent 35baf25 commit 59d38b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 38 deletions.
30 changes: 1 addition & 29 deletions meshtastic_flasher/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -2490,34 +2490,6 @@
"zh": "\u5176\u4ed6"
}
},
"phone_sds_timeout_sec": {
"description": {
"de": "Super Deep Sleep (SDS) ist eine Option der Energieverwaltung. Siehe Energieverwaltung f\u00fcr weitere Einzelheiten. 0 f\u00fcr den Standardwert von 7200 (oder zwei Stunden), MAXUINT oder 4294967295 f\u00fcr deaktiviert.",
"en": "Super deep sleep (SDS) is a power management state machine option. See power management for details. 0 for default of 7200 (or two hours), MAXUINT or 4294967295 for disabled.",
"es": "El sue\u00f1o s\u00faper profundo (SDS) es una opci\u00f3n de la m\u00e1quina de estado de gesti\u00f3n de energ\u00eda. Ver gesti\u00f3n de energ\u00eda para m\u00e1s detalles. 0 para el valor por defecto de 7200 (o dos horas), MAXUINT o 4294967295 para deshabilitado.",
"et": "\u00dclis\u00fcgavune puhkeolek (SDS) on energiavarustuse juhtimise olekumasina valik. Vt \u00fcksikasjad energiahalduse kohta. 0 on vaikimisi 7200 (v\u00f5i kaks tundi), MAXUINT v\u00f5i 4294967295 on keelatud.",
"fr": "Le sommeil super profond (SDS) est une option de la machine d'\u00e9tat de gestion de l'\u00e9nergie. Voir la gestion de l'\u00e9nergie pour plus de d\u00e9tails. 0 pour la valeur par d\u00e9faut de 7200 (ou deux heures), MAXUINT ou 4294967295 pour la d\u00e9sactivation.",
"it": "Super deep sleep (SDS) \u00e8 un'opzione della macchina di stato per la gestione dell'alimentazione. Vedi gestione dell'alimentazione per i dettagli. 0 per il default di 7200 (o due ore), MAXUINT o 4294967295 per disabilitato.",
"ja": "SDS\uff08Super Deep Sleep\uff09\u306f\u3001\u30d1\u30ef\u30fc\u30de\u30cd\u30fc\u30b8\u30e1\u30f3\u30c8\u306e\u30b9\u30c6\u30fc\u30c8\u30de\u30b7\u30f3\u30fb\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002\u8a73\u3057\u304f\u306f\u30d1\u30ef\u30fc\u30de\u30cd\u30fc\u30b8\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u30020\u3067\u30c7\u30d5\u30a9\u30eb\u30c8\u306e7200\uff08\u307e\u305f\u306f2\u6642\u9593\uff09\u3001MAXUINT\u307e\u305f\u306f4294967295\u3067\u7121\u52b9\u306b\u306a\u308a\u307e\u3059\u3002",
"pl": "Super g\u0142\u0119boki sen (SDS) to opcja zarz\u0105dzania energi\u0105. Szczeg\u00f3\u0142owe informacje mo\u017cna znale\u017a\u0107 w cz\u0119\u015bci Zarz\u0105dzanie energi\u0105. 0 dla warto\u015bci domy\u015blnej 7200 (lub dwie godziny), MAXUINT lub 4294967295 dla warto\u015bci wy\u0142\u0105czonej.",
"ro": "Super deep sleep (SDS) este o op\u021biune a ma\u0219inii de gestionare a st\u0103rii de alimentare. Consulta\u021bi gestionarea energiei pentru detalii. 0 pentru valoarea implicit\u0103 de 7200 (sau dou\u0103 ore), MAXUINT sau 4294967295 pentru dezactivat.",
"ru": "\u0421\u0432\u0435\u0440\u0445\u0433\u043b\u0443\u0431\u043e\u043a\u0438\u0439 \u0441\u043e\u043d (SDS) - \u044d\u0442\u043e \u043e\u043f\u0446\u0438\u044f \u043c\u0430\u0448\u0438\u043d\u044b \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u0441\u043c. \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c\". 0 \u0434\u043b\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 7200 (\u0438\u043b\u0438 \u0434\u0432\u0430 \u0447\u0430\u0441\u0430), MAXUINT \u0438\u043b\u0438 4294967295 \u0434\u043b\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f.",
"zh": "\u8d85\u7ea7\u6df1\u5ea6\u7761\u7720\uff08SDS\uff09\u662f\u4e00\u4e2a\u7535\u6e90\u7ba1\u7406\u72b6\u6001\u673a\u9009\u9879\u3002\u8be6\u89c1\u7535\u6e90\u7ba1\u7406\u30020 \u8868\u793a\u9ed8\u8ba4\u7684 7200\uff08\u4e24\u4e2a\u5c0f\u65f6\uff09\uff0cMAXUINT \u6216 4294967295 \u8868\u793a\u7981\u7528\u3002"
},
"label": {
"de": "Telefon Tiefschlaf (Sekunden)",
"en": "Phone SDS Timeout (seconds)",
"es": "Tiempo de espera del SDS del tel\u00e9fono (segundos)",
"et": "Telefoni SDS aeg (sekundid)",
"fr": "Phone SDS Timeout (secondes)",
"it": "Timeout del telefono SDS (secondi)",
"ja": "\u96fb\u8a71\u6a5fSDS\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\uff08\u79d2\uff09",
"pl": "Telefon SDS Timeout (sekundy)",
"ro": "Timeout SDS telefonic (secunde)",
"ru": "\u041e\u0436\u0438\u0434\u0430\u043d\u0438\u0435 SDS \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 (\u0441\u0435\u043a\u0443\u043d\u0434\u044b)",
"zh": "\u5ba2\u6237\u7aef SDS \u8d85\u65f6\uff08\u79d2\uff09"
}
},
"phone_timeout_secs": {
"description": {
"de": "Option f\u00fcr die Zustandsmaschine der Energieverwaltung. Siehe Energieverwaltung f\u00fcr Details. 0 f\u00fcr Standardwert von 900 (oder 15 Minuten).",
Expand Down Expand Up @@ -4790,4 +4762,4 @@
},
"max_size": 33
}
}
}
9 changes: 0 additions & 9 deletions meshtastic_flasher/power_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ def __init__(self, parent=None):
self.min_wake_secs.setToolTip(self.main.description('min_wake_secs'))
self.on_battery_shutdown_after_secs = QLineEdit()
self.on_battery_shutdown_after_secs.setToolTip(self.main.description('on_battery_shutdown_after_secs'))
self.phone_sds_timeout_sec = QLineEdit()
self.phone_sds_timeout_sec.setToolTip(self.main.description('phone_sds_timeout_sec'))
self.phone_timeout_secs = QLineEdit()
self.phone_timeout_secs.setToolTip(self.main.description('phone_timeout_secs'))
self.screen_on_secs = QLineEdit()
Expand All @@ -79,7 +77,6 @@ def __init__(self, parent=None):
form_layout.addRow(self.main.label("mesh_sds_timeout_secs"), self.mesh_sds_timeout_secs)
form_layout.addRow(self.main.label("min_wake_secs"), self.min_wake_secs)
form_layout.addRow(self.main.label("on_battery_shutdown_after_secs"), self.on_battery_shutdown_after_secs)
form_layout.addRow(self.main.label("phone_sds_timeout_sec"), self.phone_sds_timeout_sec)
form_layout.addRow(self.main.label("phone_timeout_secs"), self.phone_timeout_secs)
form_layout.addRow(self.main.label("screen_on_secs"), self.screen_on_secs)
form_layout.addRow(self.main.label("sds_secs"), self.sds_secs)
Expand Down Expand Up @@ -148,11 +145,6 @@ def get_values(self):
else:
self.on_battery_shutdown_after_secs.setText("0")

if self.prefs.phone_sds_timeout_sec:
self.phone_sds_timeout_sec.setText(f'{self.prefs.phone_sds_timeout_sec}')
else:
self.phone_sds_timeout_sec.setText("0")

if self.prefs.phone_timeout_secs:
self.phone_timeout_secs.setText(f'{self.prefs.phone_timeout_secs}')
else:
Expand Down Expand Up @@ -192,7 +184,6 @@ def write_values(self):
setPref(prefs, 'mesh_sds_timeout_secs', zero_if_blank(self.mesh_sds_timeout_secs.text()))
setPref(prefs, 'min_wake_secs', zero_if_blank(self.min_wake_secs.text()))
setPref(prefs, 'on_battery_shutdown_after_secs', zero_if_blank(self.on_battery_shutdown_after_secs.text()))
setPref(prefs, 'phone_sds_timeout_sec', zero_if_blank(self.phone_sds_timeout_sec.text()))
setPref(prefs, 'phone_timeout_secs', zero_if_blank(self.phone_timeout_secs.text()))
setPref(prefs, 'screen_on_secs', zero_if_blank(self.screen_on_secs.text()))
setPref(prefs, 'sds_secs', zero_if_blank(self.sds_secs.text()))
Expand Down

0 comments on commit 59d38b5

Please sign in to comment.