How to Configure System Settings in possystemsettings.xml

From wizarPOS
Revision as of 01:52, 19 November 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">   
    <!-- 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(true or false), autotimezone(true or false) and 24hour format(true or false)-->
    <datetime autodatetime="true" autotimezone="true" use24format="true"/>
    <!--set the auto rotate(true or false)-->  <!--set fone size, small or normal or large or huge-->
    <display autorotate="true" fontsize="normal"/>
    <!--set the default input method. IME_PACKAGE_NAME should be the real name of the package of input method apk -->
    <inputmethod inputmethodname="IME_PACKAGE_NAME"/>
    <!--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

 Notice, file name should be possystemsettings.xml, it can not be modified.

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.