How to Configure System Settings in possystemsettings.xml

From wizarPOS
Revision as of 06:57, 22 April 2020 by Mahong (talk | contribs)

You can configure some system settings in 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 setting element has been supported by PosSysAssistant app from 2.11.20-->
    <!-- state could be all, internet, gps, off. -->
    <!-- all: Location is on and Mode is High accuracy;-->
    <!-- internet: Location is on and Mode is Battery saving; -->
    <!-- gps: Location is on and Mode is Device only;--> 
    <!-- off: Location is off.-->
    <location state="all"/>
</terminal>

update process

by tf card

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.

from wizarview

Config possystemsettings.xml

  1. Add a new parameter file name in WizarView.
    1. Click Applications>Application.
    2. Click + icon in the left bottom of the tool box, popup an edit window.
    3. In the edit window, write the name and other input area, then select type param.
    4. Input the package name(com.wizarpos.possys) and parameter file name(possystemsettings.xml).
    5. Click Commit button.
  2. Click Search button in the Applications>Application page.
  3. Select the parameter file name in the list.
  4. Select config icon in the right bottom of the tool box.
  5. Select Upload button in the popup window.
  6. Choose the upload file, then click Commit button.

The parameter file has configured in WizarView now. The pushing process is as same as pushing an app.