From fd62216aa856b6078ea78dcc5451f7b3685d6d66 Mon Sep 17 00:00:00 2001 From: Zhangwx Date: Thu, 13 Jul 2023 05:14:43 +0800 Subject: [PATCH] [border-agent] fix struct typedef for `otBorderAgentId` (#9277) --- include/openthread/border_agent.h | 6 ++++++ include/openthread/instance.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/openthread/border_agent.h b/include/openthread/border_agent.h index 4ffbc9c6c..1c7a53537 100644 --- a/include/openthread/border_agent.h +++ b/include/openthread/border_agent.h @@ -69,6 +69,12 @@ struct otBorderAgentId uint8_t mId[OT_BORDER_AGENT_ID_LENGTH]; } OT_TOOL_PACKED_END; +/** + * Represents a Border Agent ID. + * + */ +typedef struct otBorderAgentId otBorderAgentId; + /** * Defines the Border Agent state. * diff --git a/include/openthread/instance.h b/include/openthread/instance.h index 90366cd19..3205ad09a 100644 --- a/include/openthread/instance.h +++ b/include/openthread/instance.h @@ -53,7 +53,7 @@ extern "C" { * @note This number versions both OpenThread platform and user APIs. * */ -#define OPENTHREAD_API_VERSION (343) +#define OPENTHREAD_API_VERSION (344) /** * @addtogroup api-instance