OTA configuration (otasettings.xml)
Example configuration
Mandatory settings
<?xml version="1.0" encoding="utf-8"?>
<OtaSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://senseforce.io/ configurations/Schemas/otasettings.xsd">
<!--
If true a connection to an OtaServer will be establsihed and the application can
be controlled remote from the Senseforce platform.
-->
<IsActive>true</IsActive>
<!--
The url to the ota server.
-->
<ServerUrl>https://jupiter.senseforce.io:8080/hubs/ota</ServerUrl>
<!--
This is the username which will be used along with the password to authenticated against the server.
Each user can have multiple globally unique instances assigned. Each of this instances is identified by a
instance identifier. This instance identifier must be unique along all globally available instance identifiers.
Choose wisely.
-->
<Username>username</Username>
<Password>password</Password>
<InstanceIdentifier>tenant/thingId</InstanceIdentifier>
<!--<Proxy>
<Address>http://139.5.71.80:23500</Address>
<BypassOnLocal>false</BypassOnLocal>
<Domain></Domain> <!-- Optional Proxy server domain -->
<Username></Username> <!-- Optional Proxy server user name -->
<Password></Password> <!-- Optional Proxy server password -->
</Proxy>-->
<!--
If true all filesystem actions are limited to the core directory.
-->
<EnsureAllFilesystemTasksAreCoreRelative>true</EnsureAllFilesystemTasksAreCoreRelative>
<!--
Here you can define tasks which are forbidden on this client (blacklisting).
-->
<ForbiddenTasks></ForbiddenTasks>
<Logger>
<FilePath>$(LunaAppDataPath)Logs</FilePath>
<FileName>ota.log</FileName>
<!--LogLevel: Debug,Information,Warning,Error,Critical,None-->
<LogLevel>Debug</LogLevel>
</Logger>
</OtaSettings>
Advanced settings
Last updated