mirror of
https://github.com/espressif/openthread.git
synced 2026-08-20 01:19:51 +00:00
[api] fix api param of otBorderAgentSetId (#12172)
The parameter is a `in` instead of `out`.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user