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"?> | ||
<terminal | <!--系统语言--> <!--系统时区--> | ||
<terminal language = "CHINA" timezone = "Asia/Shanghai"> | |||
<!--msr类型--> | |||
<msr type="MMD1100.SPI"/> | |||
<!--pinpad类型--> | |||
<pinpad type="newland.pp70"/> | |||
<!--默认wifi和下面network‘ssid’一致--><!--强制打开--> | |||
<wifi defaultssid="enetwork1" forceopen="false"/> | |||
<!--wifi自定义参数--> | |||
<networklist> | |||
<network ssid="HuiYin" security="WPA/WPA2_PSK" password="wizarpossystem"/> | <network ssid="HuiYin" security="WPA/WPA2_PSK" password="wizarpossystem"/> | ||
<network ssid="HuiYin1" security="WPA/WPA2_PSK" password="wizarpossystem"/> | <network ssid="HuiYin1" security="WPA/WPA2_PSK" password="wizarpossystem"/> | ||
Line 35: | Line 19: | ||
<network ssid="HuiYin3" security="WPA/WPA2_PSK" password="wizarpossystem"/> | <network ssid="HuiYin3" security="WPA/WPA2_PSK" password="wizarpossystem"/> | ||
<network ssid="test" security="NONE" password="wizarpossystem"/> | <network ssid="test" security="NONE" password="wizarpossystem"/> | ||
</networklist> | |||
<!--默认apn,和下面的apn‘name’一致--> | |||
<defaultapn defaultapn="apn111name"/> | |||
<!--apn自定义参数--> | |||
<apnlist> | |||
<!--name,apn。--> <!--mcc,mnc必须设置正确--> | |||
<apn name="apn111name" apn="apn222apn" mcc="mcc" mnc="mnc"/> | |||
<apn name="apn222name" apn="apn111apn" mcc="mcc" mnc="mnc"/> | |||
</apnlist> | |||
<!--自动时间--> <!--自动时区--> <!--24小时制--> | |||
<datetime autodatetime="true" autotimezone="true" use24format="true"/> | |||
<!--自动旋转--> <!--字体大小--> | |||
<display autorotate="true" fontsize="huge"/> | |||
<!--默认输入法--> | |||
<inputmethod inputmethodname="shurufa"/> | |||
<!--位置开关--> | |||
<location state="true"/> | |||
<!--清除客户序列号--> | |||
<removecustomsn removesn="true"/> | |||
<version>0.0.0</version> | |||
<versioncode>111</versioncode> | |||
</terminal> | </terminal> | ||
</syntaxhighlight > | </syntaxhighlight > | ||
== update process == | == update process == | ||
Create the folder: | Create the folder: |
Revision as of 05:36, 14 November 2019
You can config some system settings by using possystemsettings.xml.
possystemsettings.xml file description
<?xml version="1.0" encoding="utf-8"?>
<!--系统语言--> <!--系统时区-->
<terminal language = "CHINA" timezone = "Asia/Shanghai">
<!--msr类型-->
<msr type="MMD1100.SPI"/>
<!--pinpad类型-->
<pinpad type="newland.pp70"/>
<!--默认wifi和下面network‘ssid’一致--><!--强制打开-->
<wifi defaultssid="enetwork1" forceopen="false"/>
<!--wifi自定义参数-->
<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>
<!--默认apn,和下面的apn‘name’一致-->
<defaultapn defaultapn="apn111name"/>
<!--apn自定义参数-->
<apnlist>
<!--name,apn。--> <!--mcc,mnc必须设置正确-->
<apn name="apn111name" apn="apn222apn" mcc="mcc" mnc="mnc"/>
<apn name="apn222name" apn="apn111apn" mcc="mcc" mnc="mnc"/>
</apnlist>
<!--自动时间--> <!--自动时区--> <!--24小时制-->
<datetime autodatetime="true" autotimezone="true" use24format="true"/>
<!--自动旋转--> <!--字体大小-->
<display autorotate="true" fontsize="huge"/>
<!--默认输入法-->
<inputmethod inputmethodname="shurufa"/>
<!--位置开关-->
<location state="true"/>
<!--清除客户序列号-->
<removecustomsn removesn="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.