diff options
Diffstat (limited to 'resources/settings/properties.xml')
| -rw-r--r-- | resources/settings/properties.xml | 57 |
1 files changed, 51 insertions, 6 deletions
diff --git a/resources/settings/properties.xml b/resources/settings/properties.xml index e6b75a4..bcd31b6 100644 --- a/resources/settings/properties.xml +++ b/resources/settings/properties.xml @@ -1,17 +1,57 @@ <!-- Author: cirakg & claude ai - Summary: App properties (README 10.2): the Import form (M5) and the Options group with their defaults. + Summary: App properties (README 10.2): every settings form field with its default, the options and the read-only About fields. --> <!-- Every property the watch reads must be defined here: reading an undefined one stops the app with a system error that can't be caught. - * Import (M5): read by source/settings/SettingsProcessor.mc. impText1-8 - are joined in order; the watch clears them and turns impApply off after - processing, and writes the result to impStatus. - * Options: read by source/app/Options.mc; list values are indexes. Their - phone form follows in M7 with the other groups. + * Forms (Add OTP, Add code, Manage entry, Import): read by + source/settings/SettingsJob.mc when their switch (otpAdd, codeAdd, + mgApply, impApply) is on. Afterwards the watch turns the switch off, + clears the form (secret fields first) and writes *Status. The defaults + here are the values a cleared form returns to (OtpForm/CodeForm/ + ManageForm.defaults() must match them). + * Options: read by source/app/Options.mc; list values are indexes. + * About (catalog, version, storageUse): written by the watch only + (source/settings/AboutScan.mc). --> <properties> + <!-- Add OTP --> + <property id="otpType" type="number">0</property> + <property id="otpIssuer" type="string"></property> + <property id="otpAccount" type="string"></property> + <property id="otpSecret" type="string"></property> + <property id="otpAlgorithm" type="number">0</property> + <property id="otpDigits" type="number">6</property> + <property id="otpPeriod" type="number">30</property> + <property id="otpCounter" type="long">0</property> + <property id="otpGroup" type="string"></property> + <property id="otpLocked" type="boolean">false</property> + <property id="otpAdd" type="boolean">false</property> + <property id="otpStatus" type="string"></property> + <!-- Add code --> + <property id="codeName" type="string"></property> + <property id="codeSymbology" type="number">0</property> + <property id="codePayload" type="string"></property> + <property id="codeEcLevel" type="number">1</property> + <property id="codeCheckDigit" type="number">0</property> + <property id="codeShowText" type="boolean">true</property> + <property id="codeGroup" type="string"></property> + <property id="codeLocked" type="boolean">false</property> + <property id="codeAdd" type="boolean">false</property> + <property id="codeStatus" type="string"></property> + <!-- Manage entry --> + <property id="mgId" type="string"></property> + <property id="mgAction" type="number">0</property> + <property id="mgName" type="string"></property> + <property id="mgAccount" type="string"></property> + <property id="mgGroup" type="string"></property> + <property id="mgPosition" type="number">1</property> + <property id="mgSecret" type="string"></property> + <property id="mgCounter" type="long">0</property> + <property id="mgApply" type="boolean">false</property> + <property id="mgStatus" type="string"></property> + <!-- Import --> <property id="impText1" type="string"></property> <property id="impText2" type="string"></property> <property id="impText3" type="string"></property> @@ -24,6 +64,7 @@ <property id="impLocked" type="boolean">false</property> <property id="impApply" type="boolean">false</property> <property id="impStatus" type="string"></property> + <!-- Options --> <property id="optAutoLock" type="number">3</property> <property id="optWipe" type="boolean">false</property> <property id="optTimeOffset" type="number">0</property> @@ -33,4 +74,8 @@ <property id="optEncryptNames" type="boolean">false</property> <property id="optGlanceCode" type="boolean">false</property> <property id="optBrightness" type="boolean">true</property> + <!-- About (written by the watch) --> + <property id="catalog" type="string"></property> + <property id="version" type="string"></property> + <property id="storageUse" type="string"></property> </properties> |
