Home
last modified time | relevance | path

Searched refs:broker (Results 1 – 21 of 21) sorted by relevance

/Zephyr-Core-3.6.0/subsys/net/lib/mqtt/
Dmqtt_transport_socket_tcp.c23 const struct sockaddr *broker = client->broker; in mqtt_client_tcp_connect() local
26 client->transport.tcp.sock = zsock_socket(broker->sa_family, SOCK_STREAM, in mqtt_client_tcp_connect()
48 if (broker->sa_family == AF_INET) { in mqtt_client_tcp_connect()
52 ret = zsock_connect(client->transport.tcp.sock, client->broker, in mqtt_client_tcp_connect()
Dmqtt_transport_socket_tls.c23 const struct sockaddr *broker = client->broker; in mqtt_client_tls_connect() local
27 client->transport.tls.sock = zsock_socket(broker->sa_family, in mqtt_client_tls_connect()
92 if (broker->sa_family == AF_INET) { in mqtt_client_tls_connect()
96 ret = zsock_connect(client->transport.tls.sock, client->broker, in mqtt_client_tls_connect()
DKconfig46 When a client connects to a MQTT broker using a persistent session,
47 the message broker saves all subscriptions. When the client
48 disconnects, the message broker stores unacknowledged QoS 1 messages
/Zephyr-Core-3.6.0/tests/net/lib/mqtt_publisher/src/
Dtest_mqtt_publish.c29 static struct sockaddr broker; variable
37 struct sockaddr_in6 *broker6 = net_sin6(&broker); in broker_init()
43 struct sockaddr_in *broker4 = net_sin(&broker); in broker_init()
170 client->broker = &broker; in client_init()
/Zephyr-Core-3.6.0/tests/net/lib/mqtt_subscriber/src/
Dtest_mqtt_subscribe.c25 static struct sockaddr broker; variable
33 struct sockaddr_in6 *broker6 = net_sin6(&broker); in broker_init()
39 struct sockaddr_in *broker4 = net_sin(&broker); in broker_init()
184 client->broker = &broker; in client_init()
/Zephyr-Core-3.6.0/samples/net/cloud/aws_iot_mqtt/
DKconfig14 Endpoint (hostname) of the AWS MQTT broker.
66 - QoS 2 is not supported by AWS MQTT broker
74 Enable AWS exponential backoff for reconnecting to AWS MQTT broker.
DREADME.rst46 - :kconfig:option:`CONFIG_AWS_ENDPOINT`: The AWS IoT Core broker endpoint, found in the AWS IoT Core
/Zephyr-Core-3.6.0/tests/net/lib/mqtt_pubsub/src/
Dtest_mqtt_pubsub.c25 static struct sockaddr broker; variable
63 struct sockaddr_in6 *broker6 = net_sin6(&broker); in broker_init()
69 struct sockaddr_in *broker4 = net_sin(&broker); in broker_init()
258 client->broker = &broker; in client_init()
/Zephyr-Core-3.6.0/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c242 client_ctx.broker = &aws_broker; in aws_client_setup()
436 static int resolve_broker_addr(struct sockaddr_in *broker) in resolve_broker_addr() argument
451 memcpy(broker, ai->ai_addr, MIN(ai->ai_addrlen, sizeof(struct sockaddr_storage))); in resolve_broker_addr()
453 zsock_inet_ntop(AF_INET, &broker->sin_addr, addr_str, sizeof(addr_str)); in resolve_broker_addr()
454 LOG_INF("Resolved: %s:%u", addr_str, htons(broker->sin_port)); in resolve_broker_addr()
/Zephyr-Core-3.6.0/samples/net/mqtt_publisher/src/
Dmain.c47 static APP_BMEM struct sockaddr_storage broker; variable
268 struct sockaddr_in6 *broker6 = (struct sockaddr_in6 *)&broker; in broker_init()
282 struct sockaddr_in *broker4 = (struct sockaddr_in *)&broker; in broker_init()
304 client->broker = &broker; in client_init()
/Zephyr-Core-3.6.0/doc/connectivity/networking/api/
Dmqtt.rst54 static struct sockaddr_storage broker;
79 client_ctx.broker = &broker;
94 After the configuration is set up, the MQTT client can connect to the MQTT broker.
157 We set ``hostname`` field to broker hostname, which is required for server
/Zephyr-Core-3.6.0/samples/net/mqtt_publisher/
DREADME.rst15 client that sends MQTT PUBLISH messages to a MQTT broker.
43 MQTT broker TCP port:
119 Alternatively, a `publicly available Mosquitto MQTT server/broker
154 It is also possible to connect to the MQTT broker through a SOCKS5 proxy.
159 same host as the MQTT broker.
169 broker or uses a different port number, modify the following values:
183 By default, the sample is set up to connect to the broker at the address
184 specified by SERVER_ADDR in config.h. If the broker is secured using TLS, users
290 This is the output from the MQTT broker:
/Zephyr-Core-3.6.0/samples/net/cloud/mqtt_azure/src/
Dmain.c30 static struct sockaddr_storage broker; variable
122 struct sockaddr_in *broker4 = (struct sockaddr_in *)&broker; in broker_init()
154 client->broker = &broker; in client_init()
/Zephyr-Core-3.6.0/include/zephyr/shell/
Dshell_mqtt.h70 struct sockaddr_storage broker; member
/Zephyr-Core-3.6.0/samples/net/cloud/mqtt_azure/
DREADME.rst50 - SAMPLE_CLOUD_AZURE_SERVER_ADDR - IP address of the Azure MQTT broker
51 - SAMPLE_CLOUD_AZURE_SERVER_PORT - Port number of the Azure MQTT broker
/Zephyr-Core-3.6.0/include/zephyr/net/
Dmqtt.h490 const void *broker; member
/Zephyr-Core-3.6.0/subsys/shell/backends/
Dshell_mqtt.c187 struct sockaddr_in *broker4 = (struct sockaddr_in *)&sh_mqtt->broker; in broker_init()
208 sh_mqtt->mqtt_cli.broker = &sh_mqtt->broker; in client_init()
/Zephyr-Core-3.6.0/samples/net/mqtt_sn_publisher/
DREADME.rst74 Optionally, use any MQTT explorer to connect to your broker.
/Zephyr-Core-3.6.0/doc/releases/
Drelease-notes-1.5.rst246 * ``ZEP-632`` - MQTT fail to re-connect to the broker.
252 * ``ZEP-669`` - MQTT fail to pingreq if broker deliver topic to client but client doesn't read it.
Drelease-notes-2.2.rst941 * :github:`21764` - [SARA-R4] MQTT publisher not working - Impossible to connect to broker
Drelease-notes-2.4.rst997 * :github:`28181` - MQTT not working with MOSQUITTO broker: