diff --git a/include/openthread/instance.h b/include/openthread/instance.h index 9a3e0c761..666827fec 100644 --- a/include/openthread/instance.h +++ b/include/openthread/instance.h @@ -52,7 +52,7 @@ extern "C" { * * @note This number versions both OpenThread platform and user APIs. */ -#define OPENTHREAD_API_VERSION (587) +#define OPENTHREAD_API_VERSION (588) /** * @addtogroup api-instance diff --git a/include/openthread/platform/infra_if.h b/include/openthread/platform/infra_if.h index ab4e8ced1..9a55c1776 100644 --- a/include/openthread/platform/infra_if.h +++ b/include/openthread/platform/infra_if.h @@ -47,6 +47,15 @@ extern "C" { #endif +/** + * @addtogroup plat-infra-if + * + * @brief + * This module includes the platform abstraction for the adjacent infrastructure network interface. + * + * @{ + */ + #define OT_PLAT_INFRA_IF_MAX_LINK_LAYER_ADDR_LENGTH 16 ///< Maximum InfraIf Link-layer address length. /** @@ -58,15 +67,6 @@ typedef struct otPlatInfraIfLinkLayerAddress uint8_t mLength; ///< The address length (number of bytes). } otPlatInfraIfLinkLayerAddress; -/** - * @addtogroup plat-infra-if - * - * @brief - * This module includes the platform abstraction for the adjacent infrastructure network interface. - * - * @{ - */ - /** * Tells whether an infra interface has the given IPv6 address assigned. *