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

From wizarPOS
No edit summary
No edit summary
Line 43: Line 43:


== update process ==
== update process ==
=== by tf card ===
Create the folder:
Create the folder:


Line 50: Line 51:


Copy the possystemsettings.xml to this folder, then update, the process is like install APK or update firmware.
Copy the possystemsettings.xml to this folder, then update, the process is like install APK or update firmware.
=== from wizarview ===
Config possystemsettings.xml
# Add a new parameter file name in WizarView.
## Click Applications>Application.
## Click + icon in the left bottom of the tool box, popup an edit window.
## In the edit window, write the name and other input area, then select type param.
## Input the package name(com.wizarpos.possys) and parameter file name(possystemsettings.xml).
## Click Commit button.
# Click Search button in the Applications>Application page.
# Select the parameter file name in the list.
# Select config icon in the right bottom of the tool box.
# Select Upload button in the popup window.
# 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.

Revision as of 08:51, 18 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

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.