You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Introduction

It is possible to insert a link to a second xml config file that is automatically loaded after the first config file.

This can be used to first download the basic settings in clear text and then the other settings encrypted .

N510 IP PRO

In this example we will first load the default xml file and here we link to a second xml file.

<?xml version="1.0" encoding="ISO-8859-1"?>
<ProviderFrame xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="profile.xsd">
<Provider>
<MAC_ADDRESS value="7C2F8030D21E"/>
<PROFILE_NAME class="string" value="n510_test"/>

<SYMB_ITEM ID="BS_IP_Data1.aucS_SIP_DOMAIN" class="symb_item" value='"192.168.178.120"'/>
<SYMB_ITEM ID="BS_IP_Data1.ucB_SIP_ACCOUNT_IS_ACTIVE_1" class="symb_item" value="1"/>
<SYMB_ITEM ID="BS_IP_Data3.aucS_SIP_LOGIN_ID" class="symb_item" value='"test3"'/>
<SYMB_ITEM ID="BS_IP_Data1.aucS_SIP_REGISTRAR" class="symb_item" value='"192.168.178.120"'/>
<SYMB_ITEM ID="BS_IP_Data1.aucS_SIP_USER_ID" class="symb_item" value='"test3"'/>
<SYMB_ITEM ID="BS_IP_Data1.aucS_SIP_PASSWORD" class="symb_item" value='"test3"'/>
<SYMB_ITEM ID="BS_Accounts.astAccounts[0].aucAccountName[0]" class="symb_item" value='"Timer_4"'/>
<SYMB_ITEM ID="BS_IP_Data1.aucS_SIP_SERVER" class="symb_item" value='"192.168.178.120"'/>
<SYMB_ITEM ID="BS_IP_Data1.aucS_SIP_DISPLAYNAME" class="symb_item" value='"test"'/>

<!-- Needed to enable Provisioning, After Reboot -->
<SYMB_ITEM ID="BS_IP_Data.ucB_AUTO_UPDATE_PROFILE" class="symb_item" value="0x1"/>
<SYMB_ITEM ID="BS_IP_Data3.ucI_ONESHOT_PROVISIONING_MODE_1" class="symb_item" value="0x1"/>

<!-- Link to second user specific configuration file -->
<EXTENDED_PROFILE class="string" value="http://<Provider URL>/device/xml/7c2f8030d21e_2.xml"/>


</Provider>
</ProviderFrame>

From N510 software 210 we also support the usage of the placeholder %MACD

Example: <EXTENDED_PROFILE class="string" value="http://<Provider URL>/device/xml/%MACD_2.xml"/>

%MACD will be replaced with the device own MAC address.

The file name on the service should be with capital letters, else the device can not find the xml file.

 

In the second file we just inserted some settings.

<?xml version="1.0" encoding="ISO-8859-1"?>
<ProviderFrame xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="profile.xsd">
<Provider>
<MAC_ADDRESS value="7C2F8030D21E"/>
<PROFILE_NAME class="string" value="n510_test"/>

<SYMB_ITEM ID="BS_Accounts.astAccounts[0].aucAccountName[0]" class="symb_item" value='"SecondXML"'/>

</Provider>
</ProviderFrame>

DeviceTested with
N510 Software 199, 210
  • No labels