System Configuration

From open-smil
Jump to: navigation, search

Below SMIL sample code shows all supported system configuration settings.

<configuration xmlns="http://schemas.open-smil.org/smartapi-1.0">
  <userPref>
    <!-- <prop name="security.wifi.blocked" value="true|false"/> -->
    <prop name="info.playerName" value="{playerName}"/>
    <prop name="info.playGroup" value="{playGroup}"/>
    <prop name="net.proxy.enabled" value="true|false"/>
    <prop name="net.proxy.settings" value="none|static|pac"/>
    <prop name="net.proxy.host" value="{ip,domain-name}"/>
    <prop name="net.proxy.port" value="{integer}"/>
    <prop name="net.proxy.exclusionList" value="List-of{ip,domain-name}"/>
    <prop name="net.proxy.pac" value="{string}"/>
    <prop name="net.wifi.enabled" value="true|false"/>
    <prop name="net.wifi.ssid" value="{string}"/>
    <prop name="net.wifi.authentication" value="WEPAUTO|WPAPSK|WPA2PSK|OPEN"/>
    <prop name="net.wifi.encryption" value="WEP|TKIP|AES|NONE"/>
    <prop name="net.wifi.dhcp.enabled" value="true|false"/>
    <prop name="net.ethernet.enabled" value="true|false"/>
    <prop name="net.ethernet.dhcp.enabled" value="true|false"/>
    <prop name="net.ethernet.dhcp.vendorClass" value="{string}"/>
    <prop name="net.ethernet.ip" value="{ip}"/>
    <prop name="net.ethernet.netmask" value="{ip}"/>
    <prop name="net.ethernet.gateway" value="{ip}"/>
    <prop name="net.ethernet.domain" value="{domain-name}"/>
    <prop name="net.ethernet.dnsServers" value="list-of{ip}"/>
    <!-- <prop name="net.mobile.apn" value="internet"/>
    <prop name="net.mobile.dialup_number" value="*99#"/>
    <prop name="net.mobile.user" value="{string}"/> -->
    <prop name="net.beacon.ibeacon.enabled" value="true|false"/>
    <prop name="net.beacon.ibeacon.uuid" value="{uuid format string}"/>
    <prop name="net.beacon.ibeacon.major" value="0-65535"/>
    <prop name="net.beacon.ibeacon.minor" value="0-65535"/>
    <prop name="net.beacon.ibeacon.advertiseMode" value="low_latency|balanced|low_power"/>
    <prop name="net.beacon.ibeacon.power" value="{integer}"/>
    <!-- <prop name="net.mobile.preferredNetwork" value="AUTO|3G|4G"/> -->
    <!-- Get tzCode and tzDescription here https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List -->
    <prop name="time.timeZone" value="Europe/London"/>
    <prop name="time.autoTime.enabled" value="true|false"/>
    <prop name="time.autoTime.server" value="{ip,domain-name,uri}"/>
    <prop name="hardware.videoOut.0.format" value="CEA_720p50|CEA_720p60|CEA_1080p50|CEA_1080p60|CEA_2160p30|CEA_2160p60"/>
    <prop name="hardware.videoOut.0.rotation" value="0|90|180|270|auto"/>
    <!-- <prop name="hardware.videoOut.0.brightness" value="0-{max}%"/> -->
    <prop name="hardware.audioOut.0.masterSoundLevel" value="mute,{min}-{max}db,0-{max}%"/>
    <prop name="hardware.audioOut.0.notificationSoundLevel" value="mute,{min}-{max}db,0-{max}%"/>
    <prop name="hardware.audioOut.0.alarmSoundLevel" value="mute,{min}-{max}db,0-{max}%"/>
    <prop name="content.serverUrl" value="{contentsourceUrl}"/>
    <prop name="schedule.reboot.time" value="{HH:MM in 24-hr format}"/>
    <prop name="schedule.reboot.timeOptimized" value="true|false"/>
    <prop name="schedule.scheduledOn.time" value="{HH:MM in 24-hr format}"/>
    <prop name="schedule.scheduledOff.time" value="{HH:MM in 24-hr format}"/>
    <prop name="task.ota.xml" value="http://username:password@otaXmlURL"/>
    <prop name="task.appUpgrade.xml" value="http://username:password@appXmlURL"/>
    <prop name="debug.adb.enabled" value="true|false"/>
    <prop name="debug.adb.tcp.enabled" value="true|false"/>
    <prop name="system.locale" value="en_US"/>
    <!--<prop name="hardware.serial.0.driver" value=""/>-->
  </userPref>
</configuration>