Lines Matching +full:sample +full:- +full:time +full:- +full:us
1 .. zephyr:code-sample:: mqtt-azure
3 :relevant-api: bsd_sockets mqtt_socket tls_credentials random_api
10 This sample application demonstrates how an MQTT client
13 - Acquire a DHCPv4 lease
14 - Establish a TLS connection with Azure Cloud IoT hub
15 - Publish data to the Azure cloud
16 - SOCKS5 supported
17 - DNS supported
19 The source code of this sample application can be found at:
25 - Azure Cloud account
26 - Azure IOT Cloud credentials and required information
27 - Freedom Board (FRDM-K64F)
28 - Network connectivity
36 copied from `<https://github.com/Azure/azure-iot-sdk-c/blob/master/certs/certs.c>`_
41 - ``SAMPLE_CLOUD_AZURE_USERNAME`` - Username field use::
43 {iothubhostname}/{device_id}/?api-version=2018-06-30,
47 - ``SAMPLE_CLOUD_AZURE_PASSWORD`` - Password field, use an SAS token.
48 - ``SAMPLE_CLOUD_AZURE_CLIENT_ID`` - ClientId field, use the deviceId.
49 - ``SAMPLE_CLOUD_AZURE_HOSTNAME`` - IoT hub hostname
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
54 the sample behind a proxy:
56 - ``SAMPLE_SOCKS_ADDR`` - IP address of SOCKS5 Proxy server
57 - ``SAMPLE_SOCKS_PORT`` - Port number of SOCKS5 Proxy server
60 of this sample application (i.e., :zephyr_file:`samples/net/cloud/mqtt_azure`) and type:
62 .. zephyr-app-commands::
63 :zephyr-app: samples/net/cloud/mqtt_azure
71 to access Internet and use :file:`overlay-qemu_x86.conf`.
74 Sample overlay file
79 .. code-block:: cfg
90 Sample output
95 .. code-block:: console
97 [00:00:03.001,000] <inf> eth_mcux: Enabled 100M full-duplex mode.
101 [00:00:03.132,000] <inf> net_config: Lease time: 43200 seconds
124 <https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-mqtt-support>`_.