You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int "Maximum topic length (not including Thing Name)"
144
+
depends on AWS_IOT_SDK
145
+
default 60
146
+
range 10 1000
147
+
help
148
+
All shadow actions have to be published or subscribed to a topic which is of the format $aws/things/{thingName}/shadow/update/accepted. This refers to the size of the topic without the Thing Name
Copy file name to clipboardExpand all lines: components/aws_iot/include/aws_iot_config.h
+11-6Lines changed: 11 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -42,15 +42,20 @@
42
42
#defineAWS_IOT_MQTT_NUM_SUBSCRIBE_HANDLERS CONFIG_AWS_IOT_MQTT_NUM_SUBSCRIBE_HANDLERS ///< Maximum number of topic filters the MQTT client can handle at any given time. This should be increased appropriately when using Thing Shadow
43
43
44
44
// Thing Shadow specific configs
45
-
#defineSHADOW_MAX_SIZE_OF_RX_BUFFER (AWS_IOT_MQTT_RX_BUF_LEN + 1) ///< Maximum size of the SHADOW buffer to store the received Shadow message
#defineSHADOW_MAX_SIZE_OF_RX_BUFFER CONFIG AWS_IOT_SHADOW_MAX_SIZE_OF_RX_BUFFER ///< Maximum size of the SHADOW buffer to store the received Shadow message, including NULL termianting byte
#defineMAX_SIZE_OF_UNIQUE_CLIENT_ID_BYTES 80 ///< Maximum size of the Unique Client Id. For More info on the Client Id refer \ref response "Acknowledgments"
47
52
#defineMAX_SIZE_CLIENT_ID_WITH_SEQUENCE (MAX_SIZE_OF_UNIQUE_CLIENT_ID_BYTES + 10) ///< This is size of the extra sequence number that will be appended to the Unique client Id
48
53
#defineMAX_SIZE_CLIENT_TOKEN_CLIENT_SEQUENCE (MAX_SIZE_CLIENT_ID_WITH_SEQUENCE + 20) ///< This is size of the the total clientToken key and value pair in the JSON
49
-
#defineMAX_ACKS_TO_COMEIN_AT_ANY_GIVEN_TIME10 ///< At Any given time we will wait for this many responses. This will correlate to the rate at which the shadow actions are requested
50
-
#defineMAX_THINGNAME_HANDLED_AT_ANY_GIVEN_TIME10 ///< We could perform shadow action on any thing Name and this is maximum Thing Names we can act on at any given time
51
-
#defineMAX_JSON_TOKEN_EXPECTED120 ///< These are the max tokens that is expected to be in the Shadow JSON document. Include the metadata that gets published
52
-
#defineMAX_SHADOW_TOPIC_LENGTH_WITHOUT_THINGNAME60 ///< All shadow actions have to be published or subscribed to a topic which is of the formablogt $aws/things/{thingName}/shadow/update/accepted. This refers to the size of the topic without the Thing Name
53
-
#defineMAX_SIZE_OF_THING_NAME20 ///< The Thing Name should not be bigger than this value. Modify this if the Thing Name needs to be bigger
54
+
#defineMAX_ACKS_TO_COMEIN_AT_ANY_GIVEN_TIMECONFIG_AWS_IOT_SHADOW_MAX_SIMULTANEOUS_ACKS ///< At Any given time we will wait for this many responses. This will correlate to the rate at which the shadow actions are requested
55
+
#defineMAX_THINGNAME_HANDLED_AT_ANY_GIVEN_TIMECONFIG_AWS_IOT_SHADOW_MAX_SIMULTANEOUS_THINGNAMES ///< We could perform shadow action on any thing Name and this is maximum Thing Names we can act on at any given time
56
+
#defineMAX_JSON_TOKEN_EXPECTEDCONFIG_AWS_IOT_SHADOW_MAX_JSON_TOKEN_EXPECTED ///< These are the max tokens that is expected to be in the Shadow JSON document. Include the metadata that gets published
57
+
#defineMAX_SHADOW_TOPIC_LENGTH_WITHOUT_THINGNAMECONFIG_AWS_IOT_SHADOW_MAX_SHADOW_TOPIC_LENGTH_WITHOUT_THINGNAME ///< All shadow actions have to be published or subscribed to a topic which is of the formablogt $aws/things/{thingName}/shadow/update/accepted. This refers to the size of the topic without the Thing Name
58
+
#defineMAX_SIZE_OF_THING_NAMECONFIG_AWS_IOT_SHADOW_MAX_SIZE_OF_THING_NAME ///< The Thing Name should not be bigger than this value. Modify this if the Thing Name needs to be bigger
54
59
#defineMAX_SHADOW_TOPIC_LENGTH_BYTES (MAX_SHADOW_TOPIC_LENGTH_WITHOUT_THINGNAME + MAX_SIZE_OF_THING_NAME) ///< This size includes the length of topic with Thing Name
0 commit comments