/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/ |
D | README.rst | 12 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 …]
|
D | Kconfig | 7 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/ |
D | mqtt_transport_socket_tcp.c | 23 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()
|
D | mqtt_transport_socket_tls.c | 23 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()
|
D | Kconfig | 52 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/ |
D | Kconfig | 14 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.
|
D | README.rst | 46 - :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/ |
D | main.c | 244 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/ |
D | main.c | 48 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/ |
D | mqtt.rst | 54 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/ |
D | main.c | 31 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/ |
D | mqtt_client.c | 27 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/ |
D | README.rst | 15 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/ |
D | shell_mqtt.h | 70 struct sockaddr_storage broker; member
|
/Zephyr-latest/samples/net/cloud/mqtt_azure/ |
D | README.rst | 50 - ``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/ |
D | main.c | 30 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/ |
D | shell_mqtt.c | 187 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/ |
D | mqtt.h | 507 const void *broker; member
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/ |
D | README.rst | 91 Optionally, use any MQTT explorer to connect to your broker.
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.5.rst | 246 * ``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.
|
D | release-notes-4.0.rst | 1090 * Updated information in the mqtt_publisher sample about Mosquitto broker 1092 * Updated MQTT tests to be self-contained, no longer requiring external broker.
|
D | release-notes-2.2.rst | 941 * :github:`21764` - [SARA-R4] MQTT publisher not working - Impossible to connect to broker
|
D | release-notes-2.4.rst | 997 * :github:`28181` - MQTT not working with MOSQUITTO broker:
|