mirror of
https://github.com/espressif/openthread.git
synced 2026-08-21 09:59:52 +00:00
[bbr] validate BBR configuration (#5221)
This commit makes sure BBR configuration is valid according to Thread Spec 5.21.3.3.
This commit is contained in:
@@ -115,13 +115,16 @@ void otBackboneRouterGetConfig(otInstance *aInstance, otBackboneRouterConfig *aC
|
||||
* @param[in] aInstance A pointer to an OpenThread instance.
|
||||
* @param[in] aConfig A pointer to the Backbone Router configuration to take effect.
|
||||
*
|
||||
* @retval OT_ERROR_NONE Successfully updated configuration.
|
||||
* @retval OT_ERROR_INVALID_ARGS The configuration in @p aConfig is invalid.
|
||||
*
|
||||
* @sa otBackboneRouterSetEnabled
|
||||
* @sa otBackboneRouterGetState
|
||||
* @sa otBackboneRouterGetConfig
|
||||
* @sa otBackboneRouterRegister
|
||||
*
|
||||
*/
|
||||
void otBackboneRouterSetConfig(otInstance *aInstance, const otBackboneRouterConfig *aConfig);
|
||||
otError otBackboneRouterSetConfig(otInstance *aInstance, const otBackboneRouterConfig *aConfig);
|
||||
|
||||
/**
|
||||
* This function explicitly registers local Backbone Router configuration.
|
||||
|
||||
@@ -53,7 +53,7 @@ extern "C" {
|
||||
* @note This number versions both OpenThread platform and user APIs.
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_API_VERSION (13)
|
||||
#define OPENTHREAD_API_VERSION (14)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
|
||||
Reference in New Issue
Block a user