|
|
(6 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| You can configure some system settings in possystemsettings.xml.
| | {{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/firmware/configure-pos-system-settings}} |
| == possystemsettings.xml file description ==
| |
| <syntaxhighlight lang="java">
| |
| <?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>
| |
| </syntaxhighlight >
| |
| | |
| == 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
| |
| # 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.
| |