[api] fix api param of otBorderAgentSetId (#12172)

The parameter is a `in` instead of `out`.
This commit is contained in:
Li Cao
2025-11-20 22:17:10 -08:00
committed by GitHub
parent 041c25acbb
commit de3788c66f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ otError otBorderAgentGetId(otInstance *aInstance, otBorderAgentId *aId);
* a random ID will be generated and returned when `otBorderAgentGetId` is called.
*
* @param[in] aInstance A pointer to an OpenThread instance.
* @param[out] aId A pointer to the Border Agent ID.
* @param[in] aId A pointer to the Border Agent ID.
*
* @retval OT_ERROR_NONE If successfully set the Border Agent ID.
* @retval ... If failed to set the Border Agent ID.
+1 -1
View File
@@ -52,7 +52,7 @@ extern "C" {
*
* @note This number versions both OpenThread platform and user APIs.
*/
#define OPENTHREAD_API_VERSION (551)
#define OPENTHREAD_API_VERSION (552)
/**
* @addtogroup api-instance