Home
last modified time | relevance | path

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

/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/
DREADME.rst12 to a remote MQTT broker, while responding to commands received over MQTT.
17 - Establishing a secure MQTT connection (using TLS 1.2) to MQTT broker
18 - Publishing temperature sensor data in JSON format to the MQTT broker at a user-defined interval
19 - Subscribing to user-defined topic(s) on MQTT broker
27 - `Eclipse Mosquitto`_ MQTT broker
29 - Network connection between the board and Mosquitto broker
33 This application relies on an network connection between the board and an MQTT broker.
34 This broker can exist locally (e.g. on a host PC) or a publicly available MQTT broker
36 For quick sampling/testing, a configuration is provided to connect to a local MQTT broker
41 If using Ethernet, connect the board to the MQTT broker. This may be your host PC
[all …]
DKconfig7 string "Hostname of MQTT broker"
10 MQTT broker's hostname or IP address.
16 Port through which the application should connect to the MQTT broker.
/Zephyr-latest/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()
105 if (broker->sa_family == AF_INET) { in mqtt_client_tls_connect()
109 ret = zsock_connect(client->transport.tls.sock, client->broker, in mqtt_client_tls_connect()
DKconfig52 When a client connects to a MQTT broker using a persistent session,
53 the message broker saves all subscriptions. When the client
54 disconnects, the message broker stores unacknowledged QoS 1 messages
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/
DKconfig14 Endpoint (hostname) of the AWS MQTT broker.
21 Set port of AWS MQTT broker.
72 - QoS 2 is not supported by AWS MQTT broker
80 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
48 - :kconfig:option:`CONFIG_AWS_MQTT_PORT`: Port number for AWS IoT Core MQTT broker.
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/
Dmain.c244 client_ctx.broker = &aws_broker; in aws_client_setup()
422 static int resolve_broker_addr(struct sockaddr_in *broker) in resolve_broker_addr() argument
439 memcpy(broker, ai->ai_addr, MIN(ai->ai_addrlen, sizeof(struct sockaddr_storage))); in resolve_broker_addr()
441 inet_ntop(AF_INET, &broker->sin_addr, addr_str, sizeof(addr_str)); in resolve_broker_addr()
442 LOG_INF("Resolved: %s:%u", addr_str, htons(broker->sin_port)); in resolve_broker_addr()
/Zephyr-latest/samples/net/mqtt_publisher/src/
Dmain.c48 static APP_BMEM struct sockaddr_storage broker; variable
269 struct sockaddr_in6 *broker6 = (struct sockaddr_in6 *)&broker; in broker_init()
283 struct sockaddr_in *broker4 = (struct sockaddr_in *)&broker; in broker_init()
305 client->broker = &broker; in client_init()
/Zephyr-latest/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-latest/samples/net/cloud/mqtt_azure/src/
Dmain.c31 static struct sockaddr_storage broker; variable
123 struct sockaddr_in *broker4 = (struct sockaddr_in *)&broker; in broker_init()
155 client->broker = &broker; in client_init()
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/
Dmqtt_client.c27 static struct sockaddr_storage broker; variable
458 broker4 = (struct sockaddr_in *)&broker; in app_mqtt_init()
471 client->broker = &broker; in app_mqtt_init()
/Zephyr-latest/samples/net/mqtt_publisher/
DREADME.rst15 client that sends MQTT PUBLISH messages to a MQTT broker.
43 MQTT broker TCP port:
146 Alternatively, a `publicly available Mosquitto MQTT server/broker
181 It is also possible to connect to the MQTT broker through a SOCKS5 proxy.
186 same host as the MQTT broker.
196 broker or uses a different port number, modify the following values:
210 By default, the sample is set up to connect to the broker at the address
211 specified by SERVER_ADDR in config.h. If the broker is secured using TLS, users
317 This is the output from the MQTT broker:
/Zephyr-latest/include/zephyr/shell/
Dshell_mqtt.h70 struct sockaddr_storage broker; member
/Zephyr-latest/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-latest/tests/net/lib/mqtt/v3_1_1/mqtt_client/src/
Dmain.c30 static struct sockaddr broker; variable
111 struct sockaddr_in6 *broker6 = net_sin6(&broker); in broker_init()
561 client->broker = &broker; in client_init()
/Zephyr-latest/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-latest/include/zephyr/net/
Dmqtt.h507 const void *broker; member
/Zephyr-latest/samples/net/mqtt_sn_publisher/
DREADME.rst91 Optionally, use any MQTT explorer to connect to your broker.
/Zephyr-latest/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-4.0.rst1090 * Updated information in the mqtt_publisher sample about Mosquitto broker
1092 * Updated MQTT tests to be self-contained, no longer requiring external broker.
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: