Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
mqtt_sec_config Struct Reference

TLS configuration for secure MQTT transports. More...

#include <mqtt.h>

Data Fields

int peer_verify
 
uint32_t cipher_count
 
int * cipher_list
 
uint32_t sec_tag_count
 
sec_tag_tsec_tag_list
 
const char * hostname
 

Detailed Description

TLS configuration for secure MQTT transports.

Field Documentation

◆ cipher_count

uint32_t mqtt_sec_config::cipher_count

Indicates the number of entries in the cipher list.

◆ cipher_list

int* mqtt_sec_config::cipher_list

Indicates the list of ciphers to be used for the session. May be NULL to use the default ciphers.

◆ hostname

const char* mqtt_sec_config::hostname

Peer hostname for ceritificate verification. May be NULL to skip hostname verification.

◆ peer_verify

int mqtt_sec_config::peer_verify

Indicates the preference for peer verification.

◆ sec_tag_count

uint32_t mqtt_sec_config::sec_tag_count

Indicates the number of entries in the sec tag list.

◆ sec_tag_list

sec_tag_t* mqtt_sec_config::sec_tag_list

Indicates the list of security tags to be used for the session.


The documentation for this struct was generated from the following file: