How to Configure System Settings in possystemsettings.xml

From wizarPOS
Revision as of 05:23, 18 November 2019 by Mahong (talk | contribs)

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="apnName1"/>
    <!--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"/>

</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.