diff --git a/include/openthread/instance.h b/include/openthread/instance.h index 6fa803c65..2d245f91c 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 (481) +#define OPENTHREAD_API_VERSION (482) /** * @addtogroup api-instance diff --git a/include/openthread/srp_server.h b/include/openthread/srp_server.h index f825c84eb..55b257666 100644 --- a/include/openthread/srp_server.h +++ b/include/openthread/srp_server.h @@ -321,7 +321,7 @@ otError otSrpServerEnableFastStartMode(otInstance *aInstance); * @retval TRUE The fast-start mode is enabled. * @retval FALSE The fast-start mode is disabled. */ -bool otSrpServerIsFastStartmodeEnabled(otInstance *aInstance); +bool otSrpServerIsFastStartModeEnabled(otInstance *aInstance); /** * Returns SRP server TTL configuration. diff --git a/src/cli/cli_srp_server.cpp b/src/cli/cli_srp_server.cpp index c8f7c9d91..f2a7dc543 100644 --- a/src/cli/cli_srp_server.cpp +++ b/src/cli/cli_srp_server.cpp @@ -197,7 +197,7 @@ template <> otError SrpServer::Process(Arg aArgs[]) * @par * This command requires that `OPENTHREAD_CONFIG_SRP_SERVER_FAST_START_MODE_ENABLE` be enabled. * @moreinfo{@srp}. - * @sa otSrpServerIsFastStartmodeEnabled + * @sa otSrpServerIsFastStartModeEnabled * @sa otSrpServerEnableFastStartMode */ template <> otError SrpServer::Process(Arg aArgs[]) @@ -206,7 +206,7 @@ template <> otError SrpServer::Process(Arg aArgs[]) if (aArgs[0].IsEmpty()) { - OutputEnabledDisabledStatus(otSrpServerIsFastStartmodeEnabled(GetInstancePtr())); + OutputEnabledDisabledStatus(otSrpServerIsFastStartModeEnabled(GetInstancePtr())); } else if (aArgs[0] == "enable") { diff --git a/src/core/api/srp_server_api.cpp b/src/core/api/srp_server_api.cpp index 09a80a984..1e65e56e6 100644 --- a/src/core/api/srp_server_api.cpp +++ b/src/core/api/srp_server_api.cpp @@ -96,7 +96,7 @@ otError otSrpServerEnableFastStartMode(otInstance *aInstance) return AsCoreType(aInstance).Get().EnableFastStartMode(); } -bool otSrpServerIsFastStartmodeEnabled(otInstance *aInstance) +bool otSrpServerIsFastStartModeEnabled(otInstance *aInstance) { return AsCoreType(aInstance).Get().IsFastStartModeEnabled(); }