Builds all enumerated bridge setting values
The source data file sent as a string
Brokers currently supported must be running with anonymous connections allowed, or require a username and/or password for auth. If you are using TLS, you should have sent the required files over using the TLS methods in this proxy first.
Please note that we currently only support a single TLS connected broker. If you overwrite the TLS files that another connection is using, you will break it.
You can add connections that have either plain or password authentication in any quantity.
Unique connection name.
IP or URL that the bridged broker is running on
Port used by the bridged broker. Defaults to 1883. Must be numeric.
Optional username if the bridge requires one
Optional password if the bridge requires one
Optionally set TLS mode. Send certificates first.
The actual text content of the entire mosquitto configuration file.
Right now, this just contains bridge info, but in the future might also contain security settings, certificate file locations for various bridges, and other configurable items.
The full mosquitto config
Remove an existing bridge by name
Name of the bridge that you wish to remove
The CA file is typically obtained from your certificate authority. Will overwrite an existing CA file.
It might show up with a name like rootCA.pem
The source data file sent as a string
Your CA certificate. Needs to be pem encoded. Will overwrite an existing CA certificate.
The source data file sent as a string
Your private keyfile. Should be pem encoded. Will overwrite an existing keyfile.
The source data file sent as a string
Generated using TypeDoc
A proxy object to configure a local MQTT broker that is in bridge mode