otChildInfo
    #include <thread_ftd.h>
  
保留 Thread 子項的診斷資訊。
摘要
| 公開屬性 | |
|---|---|
| mAge | uint32_t距離上次接收到的秒數。 | 
| mAverageRssi | int8_t平均 RSSI。 | 
| mChildId | uint16_t子帳戶 ID。 | 
| mConnectionTime | uint64_t附加後經過的秒數 (需要  OPENTHREAD_CONFIG_UPTIME_ENABLE) | 
| mExtAddress | IEEE 802.15.4 延伸地址。 | 
| mFrameErrorRate | uint16_t影格錯誤率 (0xffff ->100%)。需使用錯誤追蹤功能。 | 
| mFullNetworkData | bool完整網路資料。 | 
| mFullThreadDevice | bool全 Thread 裝置。 | 
| mIsCslSynced | bool是否同步處理子項 CSL。 | 
| mIsStateRestoring | bool處於還原狀態。 | 
| mLastRssi | int8_t上次觀察到的 RSSI。 | 
| mLinkQualityIn | uint8_t連結品質 | 
| mMessageErrorRate | uint16_t(IPv6) 訊息錯誤率 (0xffff >100%)。需使用錯誤追蹤功能。 | 
| mNetworkDataVersion | uint8_t網路資料版本。 | 
| mQueuedMessageCnt | uint16_t子項已加入佇列的訊息數量。 | 
| mRloc16 | uint16_tRLOC16。 | 
| mRxOnWhenIdle | boolrx-on-when-idle  | 
| mSupervisionInterval | uint16_t監督間隔時間 (以秒為單位)。 | 
| mTimeout | uint32_t逾時。 | 
| mVersion | uint8_tMLE 版本。 | 
公開屬性
mAge
uint32_t otChildInfo::mAge
距離上次接收到的秒數。
mAverageRssi
int8_t otChildInfo::mAverageRssi
平均 RSSI。
mChildId
uint16_t otChildInfo::mChildId
子帳戶 ID。
mConnectionTime
uint64_t otChildInfo::mConnectionTime
附加後經過的秒數 (需要 OPENTHREAD_CONFIG_UPTIME_ENABLE)
mFrameErrorRate
uint16_t otChildInfo::mFrameErrorRate
影格錯誤率 (0xffff ->100%)。需使用錯誤追蹤功能。
mFullNetworkData
bool otChildInfo::mFullNetworkData
完整網路資料。
mFullThreadDevice
bool otChildInfo::mFullThreadDevice
全 Thread 裝置。
mIsCslSynced
bool otChildInfo::mIsCslSynced
是否同步處理子項 CSL。
mIsStateRestoring
bool otChildInfo::mIsStateRestoring
處於還原狀態。
mLastRssi
int8_t otChildInfo::mLastRssi
上次觀察到的 RSSI。
mLinkQualityIn
uint8_t otChildInfo::mLinkQualityIn
連結品質
mMessageErrorRate
uint16_t otChildInfo::mMessageErrorRate
(IPv6) 訊息錯誤率 (0xffff >100%)。需使用錯誤追蹤功能。
mNetworkDataVersion
uint8_t otChildInfo::mNetworkDataVersion
網路資料版本。
mQueuedMessageCnt
uint16_t otChildInfo::mQueuedMessageCnt
子項已加入佇列的訊息數量。
mRloc16
uint16_t otChildInfo::mRloc16
RLOC16。
mRxOnWhenIdle
bool otChildInfo::mRxOnWhenIdle
rx-on-when-idle
mSupervisionInterval
uint16_t otChildInfo::mSupervisionInterval
監督間隔時間 (以秒為單位)。
mTimeout
uint32_t otChildInfo::mTimeout
逾時。
mVersion
uint8_t otChildInfo::mVersion
MLE 版本。
資源
OpenThread API 參考資料主題源自原始碼,請前往 GitHub 取得。如要瞭解詳情或對說明文件做出貢獻,請參閱資源。