broker_t is only used within ESP-IDF.
 
Symbols
loading...
Files
loading...
SummarySyntaxReferencesInstances

Fields

Field
Declared as
Description
struct address_t { const char *uri; const char *hostname; esp_mqtt_transport_t transport; const char *path; uint32_t port; }
Broker address - uri have precedence over other fields - If uri isn't set at least hostname, transport and port should. Broker address configuration.
struct verification_t { bool use_global_ca_store; esp_err_t (*crt_bundle_attach)(void *conf); const char *certificate; size_t certificate_len; const struct psk_key_hint *psk_hint_key; bool skip_cert_common_name_check; const char **alpn_protos; const char *common_name; }
Broker identity verification If fields are not set broker's identity isn't verified. it's recommended to set the options in this struct for security reasons. Security verification of the broker.

References