From 1190fb54379440e15f71472cee366e1de65014d8 Mon Sep 17 00:00:00 2001 From: gavinmcgovern <81183035+gavinmcgovern@users.noreply.github.com> Date: Wed, 18 Aug 2021 09:38:10 -0700 Subject: [PATCH] [docs] add markup for history tracker (#6932) --- doc/ot_api_doc.h | 1 + include/openthread/history_tracker.h | 12 ++++++++++++ include/openthread/instance.h | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/doc/ot_api_doc.h b/doc/ot_api_doc.h index 9a3b1be57..203feb1cb 100644 --- a/doc/ot_api_doc.h +++ b/doc/ot_api_doc.h @@ -124,6 +124,7 @@ * @defgroup api-entropy Entropy Source * @defgroup api-factory-diagnostics Factory Diagnostics * @defgroup api-heap Heap + * @defgroup api-history-tracker History Tracker * @defgroup api-jam-detection Jam Detection * @defgroup api-logging Logging * @defgroup api-ncp Network Co-Processor diff --git a/include/openthread/history_tracker.h b/include/openthread/history_tracker.h index a9d1608ec..979c30bca 100644 --- a/include/openthread/history_tracker.h +++ b/include/openthread/history_tracker.h @@ -35,6 +35,13 @@ extern "C" { #endif +/** + * @addtogroup api-history-tracker + * + * @{ + * + */ + /** * @brief * This header defines the public API for History Tracker. @@ -202,6 +209,11 @@ const otHistoryTrackerMessageInfo *otHistoryTrackerIterateTxHistory(otInstance * */ void otHistoryTrackerEntryAgeToString(uint32_t aEntryAge, char *aBuffer, uint16_t aSize); +/** + * @} + * + */ + #ifdef __cplusplus } // extern "C" #endif diff --git a/include/openthread/instance.h b/include/openthread/instance.h index 7a6f6585c..9de34c640 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 (154) +#define OPENTHREAD_API_VERSION (155) /** * @addtogroup api-instance