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

Compare with Current View Page History

« Previous Version 8 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

XML parameters:

Tag nameValueMeaning
EXTENDED_PROFILEstring

URL to xml file. Example: http://<provider/server URL>/<Directory (optional)>/<filename.xml>

From software 210 and higher also %MACD placeholder is allowed. When used, the device will replace this with own MAC address.

Example: http://<provider/server URL>/<Directory (optional)>/%MACD_2.xml>

 

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 xml file name 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
N510Software 199, 210
Maxwell 10

Software 1.2.0

Under development

  • No labels