[api] include Thread version in neighbor info (#8435)

This commit is contained in:
jinran-google
2022-11-23 21:34:13 -08:00
committed by GitHub
parent eeb6ab0c8e
commit e66c21c3da
5 changed files with 9 additions and 7 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 (264)
#define OPENTHREAD_API_VERSION (265)
/**
* @addtogroup api-instance
+1
View File
@@ -99,6 +99,7 @@ typedef struct
int8_t mLastRssi; ///< Last observed RSSI
uint16_t mFrameErrorRate; ///< Frame error rate (0xffff->100%). Requires error tracking feature.
uint16_t mMessageErrorRate; ///< (IPv6) msg error rate (0xffff->100%). Requires error tracking feature.
uint16_t mVersion; ///< Thread version of the neighbor
bool mRxOnWhenIdle : 1; ///< rx-on-when-idle
bool mFullThreadDevice : 1; ///< Full Thread Device
bool mFullNetworkData : 1; ///< Full Network Data