ESP-IDF
+
0
/9 examples
SourceVu will show references to
broker_t::address
from the following samples and libraries:
ip_internal_network sample
mqtt5 sample
custom_outbox sample
ssl sample
ssl_mutual_auth sample
ssl_psk sample
tcp sample
ws sample
wss sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
broker_t::address
broker_t::address field
Broker address - uri have precedence over other fields - If uri isn't set at least hostname, transport and port should. Broker address configuration
Syntax
Show:
Summary
Declaration
from
mqtt_client.h:235
struct
address_t
{
const
char
*
uri
;
const
char
*
hostname
;
esp_mqtt_transport_t
transport
;
const
char
*
path
;
uint32_t
port
;
}
address
;
Examples
broker_t::address
is referenced by 9 libraries and example projects:
ip_internal_network sample
mqtt5 sample
custom_outbox sample
ssl sample
ssl_mutual_auth sample
ssl_psk sample
tcp sample
ws sample
wss sample
References
from
0/9
examples
Code
Location
Referrer
}
address
;
/*!< Broker address configuration */
mqtt_client.h:241
ESP_LOGW
(
TAG
,
"SSL related configs set, but the transport protocol is a non-SSL scheme, transport = %d"
,
user_cfg
->
broker
.
address
.
transport
)
;
mqtt_client.c:282
esp_mqtt_check_cfg_conflict()
if
(
cfg
->
uri
&&
user_cfg
->
broker
.
address
.
transport
)
{
mqtt_client.c:287
esp_mqtt_check_cfg_conflict()
ESP_LOGW
(
TAG
,
"Transport config set, but overridden by scheme from URI: transport = %d, uri scheme = %s"
,
user_cfg
->
broker
.
address
.
transport
,
cfg
->
scheme
)
;
mqtt_client.c:288
esp_mqtt_check_cfg_conflict()
if
(
config
->
broker
.
address
.
port
)
{
mqtt_client.c:433
esp_mqtt_set_config()
client
->
config
->
port
=
config
->
broker
.
address
.
port
;
mqtt_client.c:434
esp_mqtt_set_config()
ESP_MEM_CHECK
(
TAG
,
esp_mqtt_set_if_config
(
config
->
broker
.
address
.
hostname
,
&
client
->
config
->
host
)
,
goto
_mqtt_set_config_failed
)
;
mqtt_client.c:438
esp_mqtt_set_config()
ESP_MEM_CHECK
(
TAG
,
esp_mqtt_set_if_config
(
config
->
broker
.
address
.
path
,
&
client
->
config
->
path
)
,
goto
_mqtt_set_config_failed
)
;
mqtt_client.c:439
esp_mqtt_set_config()
ESP_MEM_CHECK
(
TAG
,
esp_mqtt_set_if_config
(
config
->
broker
.
address
.
uri
,
&
client
->
config
->
uri
)
,
goto
_mqtt_set_config_failed
)
;
mqtt_client.c:453
esp_mqtt_set_config()
if
(
config
->
broker
.
address
.
transport
)
{
mqtt_client.c:583
esp_mqtt_set_config()
if
(
config
->
broker
.
address
.
transport
==
MQTT_TRANSPORT_OVER_TCP
)
{
mqtt_client.c:586
esp_mqtt_set_config()
else
if
(
config
->
broker
.
address
.
transport
==
MQTT_TRANSPORT_OVER_WS
)
{
mqtt_client.c:591
esp_mqtt_set_config()
else
if
(
config
->
broker
.
address
.
transport
==
MQTT_TRANSPORT_OVER_SSL
)
{
mqtt_client.c:597
esp_mqtt_set_config()
else
if
(
config
->
broker
.
address
.
transport
==
MQTT_TRANSPORT_OVER_WSS
)
{
mqtt_client.c:603
esp_mqtt_set_config()
if
(
config
->
broker
.
address
.
uri
)
{
mqtt_client.c:611
esp_mqtt_set_config()
Call Tree
from
0/9
examples
All items filtered out
All items filtered out
Data Use
from
0/9
examples
broker_t::address
is read by 2 functions:
All items filtered out
broker_t::address
esp_mqtt_check_cfg_conflict()
esp_mqtt_set_config()
All items filtered out
Class Tree
from
0/9
examples
All items filtered out
All items filtered out
Override Tree
from
0/9
examples
All items filtered out
All items filtered out
Implementations
from
0/9
examples
All items filtered out
All items filtered out
Instances
from
0/9
examples
Lifecycle
from
0/9
examples
All items filtered out
All items filtered out