[cli] add commands for Border Routing counters (#8372)

This commit is contained in:
whd
2022-11-09 11:31:11 +01:00
committed by GitHub
parent 537002352f
commit 8045c829d7
6 changed files with 97 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ extern "C" {
* @note This number versions both OpenThread platform and user APIs.
*
*/
#define OPENTHREAD_API_VERSION (260)
#define OPENTHREAD_API_VERSION (261)
/**
* @addtogroup api-instance
+8
View File
@@ -885,6 +885,14 @@ typedef struct otBorderRoutingCounters
*/
const otBorderRoutingCounters *otIp6GetBorderRoutingCounters(otInstance *aInstance);
/**
* Resets the Border Routing counters.
*
* @param[in] aInstance A pointer to an OpenThread instance.
*
*/
void otIp6ResetBorderRoutingCounters(otInstance *aInstance);
/**
* @}
*