ESP-IDF
mqtt_config_storage_t
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
mqtt_config_storage_t
mqtt_config_storage_t struct
Syntax
Show:
Summary
Declaration
from
mqtt_client_priv.h:69
typedef
struct
{
esp_event_loop_handle_t
event_loop_handle
;
int
task_stack
;
int
task_prio
;
char
*
uri
;
char
*
host
;
char
*
path
;
char
*
scheme
;
int
port
;
bool
auto_reconnect
;
int
network_timeout_ms
;
int
refresh_connection_after_ms
;
int
reconnect_timeout_ms
;
char
*
*
alpn_protos
;
int
num_alpn_protos
;
char
*
clientkey_password
;
int
clientkey_password_len
;
bool
use_global_ca_store
;
esp_err_t
(
(
*
crt_bundle_attach
)
(
void
*
conf
)
)
;
const
char
*
cacert_buf
;
size_t
cacert_bytes
;
const
char
*
clientcert_buf
;
size_t
clientcert_bytes
;
const
char
*
clientkey_buf
;
size_t
clientkey_bytes
;
const
struct
psk_key_hint
*
psk_hint_key
;
bool
skip_cert_common_name_check
;
const
char
*
common_name
;
bool
use_secure_element
;
void
*
ds_data
;
int
message_retransmit_timeout
;
uint64_t
outbox_limit
;
esp_transport_handle_t
transport
;
struct
ifreq
*
if_name
;
}
mqtt_config_storage_t
;
Fields
Field
Declared as
mqtt_config_storage_t::event_loop_handle
esp_event_loop_handle_t
mqtt_config_storage_t::task_stack
int
mqtt_config_storage_t::task_prio
int
mqtt_config_storage_t::uri
char
*
mqtt_config_storage_t::host
char
*
mqtt_config_storage_t::path
char
*
mqtt_config_storage_t::scheme
char
*
mqtt_config_storage_t::port
int
mqtt_config_storage_t::auto_reconnect
bool
mqtt_config_storage_t::network_timeout_ms
int
mqtt_config_storage_t::refresh_connection_after_ms
int
mqtt_config_storage_t::reconnect_timeout_ms
int
mqtt_config_storage_t::alpn_protos
char
*
*
mqtt_config_storage_t::num_alpn_protos
int
mqtt_config_storage_t::clientkey_password
char
*
mqtt_config_storage_t::clientkey_password_len
int
mqtt_config_storage_t::use_global_ca_store
bool
mqtt_config_storage_t::crt_bundle_attach
esp_err_t
(
(
*
)
(
void
*
conf
)
)
mqtt_config_storage_t::cacert_buf
const
char
*
mqtt_config_storage_t::cacert_bytes
size_t
mqtt_config_storage_t::clientcert_buf
const
char
*
mqtt_config_storage_t::clientcert_bytes
size_t
mqtt_config_storage_t::clientkey_buf
const
char
*
mqtt_config_storage_t::clientkey_bytes
size_t
mqtt_config_storage_t::psk_hint_key
const
struct
psk_key_hint
*
mqtt_config_storage_t::skip_cert_common_name_check
bool
mqtt_config_storage_t::common_name
const
char
*
mqtt_config_storage_t::use_secure_element
bool
mqtt_config_storage_t::ds_data
void
*
mqtt_config_storage_t::message_retransmit_timeout
int
mqtt_config_storage_t::outbox_limit
uint64_t
mqtt_config_storage_t::transport
esp_transport_handle_t
mqtt_config_storage_t::if_name
struct
ifreq
*
Related Functions
Found 2 other functions taking a
mqtt_config_storage_t
argument:
Function
esp_mqtt_set_ssl_transport_properties()
esp_mqtt_check_cfg_conflict()
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
{
mqtt_client_priv.h:69
}
mqtt_config_storage_t
;
mqtt_client_priv.h:103
static
esp_err_t
esp_mqtt_set_ssl_transport_properties
(
esp_transport_list_handle_t
transport_list
,
mqtt_config_storage_t
*
cfg
)
mqtt_client.c:142
esp_mqtt_set_ssl_transport_properties()
esp_mqtt_set_ssl_transport_properties()::cfg
static
esp_err_t
esp_mqtt_check_cfg_conflict
(
const
mqtt_config_storage_t
*
cfg
,
const
esp_mqtt_client_config_t
*
user_cfg
)
mqtt_client.c:264
esp_mqtt_check_cfg_conflict()
esp_mqtt_check_cfg_conflict()::cfg
client
->
config
=
calloc
(
1
,
sizeof
(
mqtt_config_storage_t
)
)
;
mqtt_client.c:394
esp_mqtt_set_config()
memset
(
client
->
config
,
0
,
sizeof
(
mqtt_config_storage_t
)
)
;
mqtt_client.c:661
esp_mqtt_destroy_config()
free
(
client
->
config
)
;
mqtt_client.c:662
esp_mqtt_destroy_config()
}
mqtt_config_storage_t
;
mqtt_client_priv.h:103
mqtt_config_storage_t
mqtt_config_storage_t
*
config
;
mqtt_client_priv.h:115
esp_mqtt_client
esp_mqtt_client::config
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
esp_mqtt_client::config
esp_mqtt_client
mqtt_client_priv.h:115
esp_mqtt_set_ssl_transport_properties()::cfg
esp_mqtt_set_ssl_transport_properties()
mqtt_client.c:142
esp_mqtt_check_cfg_conflict()::cfg
esp_mqtt_check_cfg_conflict()
mqtt_client.c:264
Lifecycle
from
examples
mqtt_config_storage_t
is allocated by 1 symbol and is freed by 1 symbol:
esp_mqtt_set_config()
All items filtered out
mqtt_config_storage_t
esp_mqtt_destroy_config()
All items filtered out