Skip to main content

Interface IUpdateSettings

Provides an abstraction for settings passed to the Meadow Update Service

Assembly: Meadow.Contracts.dll​
View Source​
Declaration
public interface IUpdateSettings

Properties​

Enabled​

Gets the desired enabled state of the service

View Source​
Declaration
bool Enabled { get; set; }

UpdateServer​

Gets the address of the Update (MQTT) server to use

View Source​
Declaration
string UpdateServer { get; set; }

UpdatePort​

Gets the port of the Update (MQTT) server to use

View Source​
Declaration
int UpdatePort { get; set; }

Organization​

Gets the Organization the device is registered to

View Source​
Declaration
string Organization { get; set; }

RootTopic​

Gets the root MQTT topic to subscribe to for updates

View Source​
Declaration
string RootTopic { get; set; }

CloudConnectRetrySeconds​

Reconnect period used when a disconnection from the Update server occurs

View Source​
Declaration
int CloudConnectRetrySeconds { get; set; }

UseAuthentication​

Gets the preference for using authentication when connecting to the Update server

View Source​
Declaration
bool UseAuthentication { get; set; }