How to Configure System Settings in possystemsettings.xml: Difference between revisions
Line 3: | Line 3: | ||
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<!-- | <!--system language--> <!--time zone--> | ||
<terminal language = "CHINA" timezone = "Asia/Shanghai"> | <terminal language = "CHINA" timezone = "Asia/Shanghai"> | ||
<!-- | <!--msr type--> | ||
<msr type="MMD1100.SPI"/> | <msr type="MMD1100.SPI"/> | ||
<!-- | <!--pinpad type--> | ||
<pinpad type="newland.pp70"/> | <pinpad type="newland.pp70"/> | ||
<!-- | <!-- set the default wifi ssid to HuiYin, this ssid should be included in networklist--><--forceopen means enable wifi immediatly--> | ||
<wifi defaultssid=" | <wifi defaultssid="HuiYin" forceopen="false"/> | ||
<!-- | <!-- The pre-defined wifi ssid list--> | ||
<networklist> | <networklist> | ||
<network ssid="HuiYin" security="WPA/WPA2_PSK" password="wizarpossystem"/> | <network ssid="HuiYin" security="WPA/WPA2_PSK" password="wizarpossystem"/> | ||
Line 21: | Line 21: | ||
</networklist> | </networklist> | ||
<!-- | <!-- the default apn name, this apn should be included in the apnlist--> | ||
<defaultapn defaultapn="apn111name"/> | <defaultapn defaultapn="apn111name"/> | ||
<!-- | <!--the pre-defined apn list--> | ||
<apnlist> | <apnlist> | ||
<!-- | <!--name is the name of the apn item--> <!-- apn, mcc and mnc should be the correct value of local processor--> | ||
<apn name=" | <apn name="apnName1" apn="apn1" mcc="mcc1" mnc="mnc1"/> | ||
<apn name=" | <apn name="apnName2" apn="apn2" mcc="mcc2" mnc="mnc2"/> | ||
</apnlist> | </apnlist> | ||
<!-- | <!--set the autodatetime, autotimezone and 24hour format--> | ||
<datetime autodatetime="true" autotimezone="true" use24format="true"/> | <datetime autodatetime="true" autotimezone="true" use24format="true"/> | ||
<!-- | <!--set the auto rotate--> <!--set fone size--> | ||
<display autorotate="true" fontsize="huge"/> | <display autorotate="true" fontsize="huge"/> | ||
<!-- | <!--set the default input method--> | ||
<inputmethod inputmethodname="shurufa"/> | <inputmethod inputmethodname="shurufa"/> | ||
<!-- | <!--enable the locate function--> | ||
<location state="true"/> | <location state="true"/> | ||
<version>0.0.0</version> | <version>0.0.0</version> |
Revision as of 09:13, 14 November 2019
You can config some system settings by using possystemsettings.xml.
possystemsettings.xml file description
<?xml version="1.0" encoding="utf-8"?>
<!--system language--> <!--time zone-->
<terminal language = "CHINA" timezone = "Asia/Shanghai">
<!--msr type-->
<msr type="MMD1100.SPI"/>
<!--pinpad type-->
<pinpad type="newland.pp70"/>
<!-- set the default wifi ssid to HuiYin, this ssid should be included in networklist--><--forceopen means enable wifi immediatly-->
<wifi defaultssid="HuiYin" forceopen="false"/>
<!-- The pre-defined wifi ssid list-->
<networklist>
<network ssid="HuiYin" security="WPA/WPA2_PSK" password="wizarpossystem"/>
<network ssid="HuiYin1" security="WPA/WPA2_PSK" password="wizarpossystem"/>
<network ssid="HuiYin2" security="WPA/WPA2_PSK" password="wizarpossystem"/>
<network ssid="HuiYin3" security="WPA/WPA2_PSK" password="wizarpossystem"/>
<network ssid="test" security="NONE" password="wizarpossystem"/>
</networklist>
<!-- the default apn name, this apn should be included in the apnlist-->
<defaultapn defaultapn="apn111name"/>
<!--the pre-defined apn list-->
<apnlist>
<!--name is the name of the apn item--> <!-- apn, mcc and mnc should be the correct value of local processor-->
<apn name="apnName1" apn="apn1" mcc="mcc1" mnc="mnc1"/>
<apn name="apnName2" apn="apn2" mcc="mcc2" mnc="mnc2"/>
</apnlist>
<!--set the autodatetime, autotimezone and 24hour format-->
<datetime autodatetime="true" autotimezone="true" use24format="true"/>
<!--set the auto rotate--> <!--set fone size-->
<display autorotate="true" fontsize="huge"/>
<!--set the default input method-->
<inputmethod inputmethodname="shurufa"/>
<!--enable the locate function-->
<location state="true"/>
<version>0.0.0</version>
<versioncode>111</versioncode>
</terminal>
update process
Create the folder:
1) \wizarpos\homesettings\homesettings_XXX\, XXX default is wizarpos, please check the kernel version, it includes splash=XXX, this values is same with the splash value.
2) Or \cloudpos\, this requires PosSysAssistant app version > 2.11.8.
Copy the possystemsettings.xml to this folder, then update, the process is like install APK or update firmware.