From 0ef9167824d30185381159fe0ba9dd6e7c249fd0 Mon Sep 17 00:00:00 2001 From: fpagliughi Date: Tue, 25 Jun 2024 11:29:33 -0400 Subject: [PATCH] Assigned Client Identifier constant misspelled --- src/MQTTProperties.c | 4 ++-- src/MQTTProperties.h | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/MQTTProperties.c b/src/MQTTProperties.c index b21f338b5..4f704c8be 100644 --- a/src/MQTTProperties.c +++ b/src/MQTTProperties.c @@ -38,7 +38,7 @@ static struct nameToType {MQTTPROPERTY_CODE_CORRELATION_DATA, MQTTPROPERTY_TYPE_BINARY_DATA}, {MQTTPROPERTY_CODE_SUBSCRIPTION_IDENTIFIER, MQTTPROPERTY_TYPE_VARIABLE_BYTE_INTEGER}, {MQTTPROPERTY_CODE_SESSION_EXPIRY_INTERVAL, MQTTPROPERTY_TYPE_FOUR_BYTE_INTEGER}, - {MQTTPROPERTY_CODE_ASSIGNED_CLIENT_IDENTIFER, MQTTPROPERTY_TYPE_UTF_8_ENCODED_STRING}, + {MQTTPROPERTY_CODE_ASSIGNED_CLIENT_IDENTIFIER, MQTTPROPERTY_TYPE_UTF_8_ENCODED_STRING}, {MQTTPROPERTY_CODE_SERVER_KEEP_ALIVE, MQTTPROPERTY_TYPE_TWO_BYTE_INTEGER}, {MQTTPROPERTY_CODE_AUTHENTICATION_METHOD, MQTTPROPERTY_TYPE_UTF_8_ENCODED_STRING}, {MQTTPROPERTY_CODE_AUTHENTICATION_DATA, MQTTPROPERTY_TYPE_BINARY_DATA}, @@ -355,7 +355,7 @@ struct { {MQTTPROPERTY_CODE_CORRELATION_DATA, "CORRELATION_DATA"}, {MQTTPROPERTY_CODE_SUBSCRIPTION_IDENTIFIER, "SUBSCRIPTION_IDENTIFIER"}, {MQTTPROPERTY_CODE_SESSION_EXPIRY_INTERVAL, "SESSION_EXPIRY_INTERVAL"}, - {MQTTPROPERTY_CODE_ASSIGNED_CLIENT_IDENTIFER, "ASSIGNED_CLIENT_IDENTIFER"}, + {MQTTPROPERTY_CODE_ASSIGNED_CLIENT_IDENTIFIER, "ASSIGNED_CLIENT_IDENTIFIER"}, {MQTTPROPERTY_CODE_SERVER_KEEP_ALIVE, "SERVER_KEEP_ALIVE"}, {MQTTPROPERTY_CODE_AUTHENTICATION_METHOD, "AUTHENTICATION_METHOD"}, {MQTTPROPERTY_CODE_AUTHENTICATION_DATA, "AUTHENTICATION_DATA"}, diff --git a/src/MQTTProperties.h b/src/MQTTProperties.h index bbfd732c4..45d1b5e34 100644 --- a/src/MQTTProperties.h +++ b/src/MQTTProperties.h @@ -30,7 +30,8 @@ enum MQTTPropertyCodes { MQTTPROPERTY_CODE_CORRELATION_DATA = 9, /**< The value is 9 */ MQTTPROPERTY_CODE_SUBSCRIPTION_IDENTIFIER = 11, /**< The value is 11 */ MQTTPROPERTY_CODE_SESSION_EXPIRY_INTERVAL = 17, /**< The value is 17 */ - MQTTPROPERTY_CODE_ASSIGNED_CLIENT_IDENTIFER = 18,/**< The value is 18 */ + MQTTPROPERTY_CODE_ASSIGNED_CLIENT_IDENTIFIER = 18,/**< The value is 18 */ + MQTTPROPERTY_CODE_ASSIGNED_CLIENT_IDENTIFER = 18,/**< The value is 18 (obsolete, misspelled) */ MQTTPROPERTY_CODE_SERVER_KEEP_ALIVE = 19, /**< The value is 19 */ MQTTPROPERTY_CODE_AUTHENTICATION_METHOD = 21, /**< The value is 21 */ MQTTPROPERTY_CODE_AUTHENTICATION_DATA = 22, /**< The value is 22 */