MqttDiscoveryConfiguration constructor

const MqttDiscoveryConfiguration(
  1. Uri brokerUri, {
  2. String discoveryTopic = "wot/td/#",
  3. String expectedContentType = "application/td+json",
  4. Duration discoveryTimeout = const Duration(seconds: 5),
})

Instantiates a new DiscoveryConfiguration for MQTT.

Implementation

const MqttDiscoveryConfiguration(
  this.brokerUri, {
  this.discoveryTopic = "wot/td/#",
  this.expectedContentType = "application/td+json",
  this.discoveryTimeout = const Duration(seconds: 5),
});