GHIElectronics.TinyCLR.Networking.Mqtt
NuGet: GHIElectronics.TinyCLR.Networking.Mqtt
Classes
| Class | Namespace | Summary |
|---|---|---|
| Mqtt | GHIElectronics.TinyCLR.Networking.Mqtt | MQTT client. Construct with an MqttClientSetting, call Connect with an MqttConnectionSetting, subscribe to topics, and publish messages. Asynchronous events deliver inbound traffic. |
| MqttClientSetting | GHIElectronics.TinyCLR.Networking.Mqtt | Transport-level MQTT settings — broker host/port, TLS, certificates. |
| MqttConnectionSetting | GHIElectronics.TinyCLR.Networking.Mqtt | Per-session MQTT settings — client ID, credentials, last-will, keepalive. |
| MqttPacket | GHIElectronics.TinyCLR.Networking.Mqtt | Represents a single MQTT control packet and encodes it to bytes for sending. |
Enums
| Enum | Namespace | Summary |
|---|---|---|
| ConnectReturnCode | GHIElectronics.TinyCLR.Networking.Mqtt | Result of a CONNECT request reported by the broker. |
| PacketType | GHIElectronics.TinyCLR.Networking.Mqtt | Identifies the type of an MQTT control packet. |
| QoSLevel | GHIElectronics.TinyCLR.Networking.Mqtt | MQTT Quality-of-Service level. |
Delegates
| Delegate | Namespace | Summary |
|---|---|---|
| ConnectedEventHandler | GHIElectronics.TinyCLR.Networking.Mqtt | Handles a change in the connection state with the broker. |
| PublishedEventHandler | GHIElectronics.TinyCLR.Networking.Mqtt | Handles the result of a publish request. |
| PublishReceivedEventHandler | GHIElectronics.TinyCLR.Networking.Mqtt | Handles a message received on a subscribed topic. |
| SubscribedEventHandler | GHIElectronics.TinyCLR.Networking.Mqtt | Handles a completed subscribe request and the granted quality-of-service levels. |
| UnsubscribedEventHandler | GHIElectronics.TinyCLR.Networking.Mqtt | Handles a completed unsubscribe request. |