How to Configure System Settings in possystemsettings.xml: Difference between revisions

From wizarPOS
No edit summary
No edit summary
Line 6: Line 6:
<terminal language = "CHINA" timezone = "Asia/Shanghai">
<terminal language = "CHINA" timezone = "Asia/Shanghai">
     <!--msr type-->
     <!--msr type-->
     <msr type="MMD1100.SPI"/>
     <msr type="MMD1100.SPI|MMD1100.Serial|..."/>
     <!--pinpad type-->
     <!--pinpad type-->
     <pinpad type="newland.pp70"/>
     <pinpad type="newland.pp70|sunyard.p90|newland.gp710|..."/>


     <!-- set the default wifi ssid to HuiYin, this ssid should be included in networklist--><--forceopen means enable wifi immediatly-->
     <!-- set the default wifi ssid to HuiYin, this ssid should be included in networklist--> <!--forceopen means enable wifi immediatly-->
     <wifi defaultssid="HuiYin" forceopen="false"/>
     <wifi defaultssid="HuiYin" forceopen="false"/>
     <!-- The pre-defined wifi ssid list-->
     <!-- The pre-defined wifi ssid list-->
Line 26: Line 26:
     <apnlist>
     <apnlist>
         <!--name is the name of the apn item--> <!-- apn, mcc and mnc should be the correct value of local processor-->
         <!--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="apnName1" apn="cmnet" mcc="460" mnc="01"/>
         <apn name="apnName2" apn="apn2" mcc="mcc2" mnc="mnc2"/>
         <apn name="apnName2" apn="cmwap" mcc="460" mnc="07"/>
     </apnlist>
     </apnlist>


     <!--set the autodatetime, autotimezone and 24hour format-->
     <!--set the autodatetime, autotimezone and 24hour format-->
     <datetime autodatetime="true" autotimezone="true" use24format="true"/>
     <datetime autodatetime="true|false" autotimezone="true|false" use24format="true|false"/>
     <!--set the auto rotate-->  <!--set fone size-->
     <!--set the auto rotate-->  <!--set fone size-->
     <display autorotate="true" fontsize="huge"/>
     <display autorotate="true|false" fontsize="small|normal|large|huge"/>
     <!--set the default input method-->
     <!--set the default input method-->
     <inputmethod inputmethodname="shurufa"/>
     <inputmethod inputmethodname="imepkgname"/>
     <!--enable the locate function-->
     <!--enable the locate function-->
     <location state="true"/>
     <location state="all|internet|gps|off"/>


</terminal>
</terminal>

Revision as of 06:23, 4 December 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|MMD1100.Serial|..."/>
    <!--pinpad type-->
    <pinpad type="newland.pp70|sunyard.p90|newland.gp710|..."/>

    <!-- 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="cmnet" mcc="460" mnc="01"/>
        <apn name="apnName2" apn="cmwap" mcc="460" mnc="07"/>
    </apnlist>

    <!--set the autodatetime, autotimezone and 24hour format-->
    <datetime autodatetime="true|false" autotimezone="true|false" use24format="true|false"/>
    <!--set the auto rotate-->  <!--set fone size-->
    <display autorotate="true|false" fontsize="small|normal|large|huge"/>
    <!--set the default input method-->
    <inputmethod inputmethodname="imepkgname"/>
    <!--enable the locate function-->
    <location state="all|internet|gps|off"/>

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