mirror of
https://github.com/espressif/openthread.git
synced 2026-09-05 16:50:05 +00:00
[api] include Thread version in neighbor info (#8435)
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 (264)
|
||||
#define OPENTHREAD_API_VERSION (265)
|
||||
|
||||
/**
|
||||
* @addtogroup api-instance
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user