MQTT

Frends.MQTT.Send / 2.0.0

Summary

Connects to a broker, publishes one message to a topic at a chosen quality of service, then disconnects.

Typical use — sending commands or state to devices and services subscribed to a topic

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
2.0.02026-08-17
Added
  • Breaking Change Error type in response from string to custom error object
  • Added an Options parameter to the Send task, allowing you to control whether errors are thrown or returned as a result (ThrowErrorOnFailure) and to provide a custom error message (ErrorMessageOnFailure).
1.0.02025-04-07
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙