diff --git a/include/openthread/commissioner.h b/include/openthread/commissioner.h index 8ff811e08..42d3cced0 100644 --- a/include/openthread/commissioner.h +++ b/include/openthread/commissioner.h @@ -116,7 +116,7 @@ typedef struct otCommissioningDataset #define OT_JOINER_MAX_PSKD_LENGTH 32 ///< Maximum string length of a Joiner PSKd (does not include null char). /** - * This structure represent a Joiner PSKd. + * This structure represents a Joiner PSKd. * */ typedef struct otJoinerPskd diff --git a/include/openthread/instance.h b/include/openthread/instance.h index 3189be0c6..ee0eb45a9 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 (10) +#define OPENTHREAD_API_VERSION (11) /** * @addtogroup api-instance diff --git a/include/openthread/joiner.h b/include/openthread/joiner.h index 85df654cd..adb10b221 100644 --- a/include/openthread/joiner.h +++ b/include/openthread/joiner.h @@ -171,7 +171,7 @@ const otExtAddress *otJoinerGetId(otInstance *aInstance); * @param[in] aDiscerner A pointer to a Joiner Discerner. If NULL clears any previously set discerner. * * @retval OT_ERROR_NONE The Joiner Discerner updated successfully. - * @retval OT_ERROR_INVALID_ARGS @p aDisciminrator is not valid (specified length is not within valid range). + * @retval OT_ERROR_INVALID_ARGS @p aDiscerner is not valid (specified length is not within valid range). * @retval OT_ERROR_INVALID_STATE There is an ongoing Joining process so Joiner Discerner could not be changed. * */ diff --git a/src/core/meshcop/joiner.hpp b/src/core/meshcop/joiner.hpp index 8078915df..0e5a4e87a 100644 --- a/src/core/meshcop/joiner.hpp +++ b/src/core/meshcop/joiner.hpp @@ -130,7 +130,7 @@ public: * @param[in] aDiscerner A Joiner Discerner * * @retval OT_ERROR_NONE The Joiner Discerner updated successfully. - * @retval OT_ERROR_INVALID_ARGS @p aDisciminrator is not valid (specified length is not within valid range). + * @retval OT_ERROR_INVALID_ARGS @p aDiscerner is not valid (specified length is not within valid range). * @retval OT_ERROR_INVALID_STATE There is an ongoing Joining process so Joiner Discerner could not be changed. * */ diff --git a/src/core/meshcop/meshcop.hpp b/src/core/meshcop/meshcop.hpp index e8cd865ed..1c635001f 100644 --- a/src/core/meshcop/meshcop.hpp +++ b/src/core/meshcop/meshcop.hpp @@ -129,7 +129,7 @@ public: bool operator==(const JoinerPskd &aOther) const; /** - * This method overloads operator `!=` to evaluate whether or not two PSKds are equal. + * This method overloads operator `!=` to evaluate whether or not two PSKds are unequal. * * @param[in] aOther The other PSKd to compare with. *