mirror of
https://github.com/espressif/openthread.git
synced 2026-08-17 16:09:51 +00:00
[telemetry] implement RA/RS counters (#8416)
This commit is contained in:
@@ -53,7 +53,7 @@ extern "C" {
|
||||
* @note This number versions both OpenThread platform and user APIs.
|
||||
*
|
||||
*/
|
||||
#define OPENTHREAD_API_VERSION (263)
|
||||
#define OPENTHREAD_API_VERSION (264)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
|
||||
@@ -871,6 +871,12 @@ typedef struct otBorderRoutingCounters
|
||||
otPacketsAndBytes mInboundMulticast; ///< The counters for inbound multicast.
|
||||
otPacketsAndBytes mOutboundUnicast; ///< The counters for outbound unicast.
|
||||
otPacketsAndBytes mOutboundMulticast; ///< The counters for outbound multicast.
|
||||
uint32_t mRaRx; ///< The number of received RA packets.
|
||||
uint32_t mRaTxSuccess; ///< The number of RA packets successfully transmitted.
|
||||
uint32_t mRaTxFailure; ///< The number of RA packets failed to transmit.
|
||||
uint32_t mRsRx; ///< The number of received RS packets.
|
||||
uint32_t mRsTxSuccess; ///< The number of RS packets successfully transmitted.
|
||||
uint32_t mRsTxFailure; ///< The number of RS packets failed to transmit.
|
||||
} otBorderRoutingCounters;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user