1# 2# Copyright (c) 2023 Lucas Dietrich <ld.adecy@gmail.com> 3# 4# SPDX-License-Identifier: Apache-2.0 5# 6 7menu "AWS" 8mainmenu "AWS IoT Core MQTT sample application" 9 10config AWS_ENDPOINT 11 string "AWS endpoint" 12 default "" 13 help 14 Endpoint (hostname) of the AWS MQTT broker. 15 Note that the endpoint is different when using AWS Device Advisor. 16 17config AWS_MQTT_PORT 18 int "MQTT Port" 19 default 8883 20 help 21 Set port of AWS MQTT broker. 22 23config AWS_THING_NAME 24 string "AWS Thing name" 25 default "myThingName" 26 help 27 Set the AWS Thing name created on IoT Console 28 29config AWS_SUBSCRIBE_TOPIC 30 string "MQTT subscribe topic" 31 default "myThingName/downlink" 32 help 33 MQTT topic the client should subscribe to. 34 35config AWS_PUBLISH_TOPIC 36 string "MQTT publish topic" 37 default "myThingName/data" 38 help 39 MQTT topic the client should publish to. 40 41choice AWS_TEST_SUITE 42 prompt "Device Advisor test suite" 43 default AWS_TEST_SUITE_NONE 44 help 45 Select the AWS Device Advisor test suite to run. 46 47config AWS_TEST_SUITE_NONE 48 bool "No test suite running" 49 50config AWS_TEST_SUITE_DQP 51 bool "Device Qualification Program (DQP)" 52 help 53 Make sure your region supports AWS Device Advisor for DQP 54 55config AWS_TEST_SUITE_RECV_QOS1 56 bool "Test suite for receiving QoS 1 messages" 57 help 58 For single test case "MQTT Client Puack QoS1" 59 60endchoice 61 62config AWS_QOS 63 int "MQTT QoS" 64 default 0 if AWS_TEST_SUITE_DQP 65 default 1 if AWS_TEST_SUITE_RECV_QOS1 66 default 0 67 range 0 1 68 help 69 Quality of Service to use for publishing and subscribing to topics. 70 Notes: 71 - Use QoS 0 when passing DQP test suite 72 - QoS 2 is not supported by AWS MQTT broker 73 74 75config AWS_EXPONENTIAL_BACKOFF 76 bool "enable exponential backoff" 77 default n if AWS_TEST_SUITE_DQP || AWS_TEST_SUITE_RECV_QOS1 78 default y 79 help 80 Enable AWS exponential backoff for reconnecting to AWS MQTT broker. 81 82endmenu 83 84source "Kconfig.zephyr" 85