otMeshDiagRouterNeighborEntry

#include <mesh_diag.h>

Represents information about a router neighbor entry from otMeshDiagQueryRouterNeighborTable().

Summary

mSupportsErrRate indicates whether or not the error tracking feature is supported and mFrameErrorRate and mMessageErrorRate values are valid. The frame error rate tracks frame tx errors (towards the child) at MAC layer, while mMessageErrorRate tracks the IPv6 message error rate (above MAC layer and after MAC retries) when an IPv6 message is dropped. For example, if the message is large and requires 6LoWPAN fragmentation, message tx is considered as failed if one of its fragment frame tx fails (for example, never acked).

Public attributes

mAverageRssi
int8_t
Average RSSI.
mConnectionTime
uint32_t
Seconds since link establishment.
mExtAddress
Extended Address.
mFrameErrorRate
uint16_t
Frame error rate (0x0000->0%, 0xffff->100%).
mLastRssi
int8_t
RSSI of last received frame.
mLinkMargin
uint8_t
Link Margin in dB.
mMessageErrorRate
uint16_t
(IPv6) msg error rate (0x0000->0%, 0xffff->100%).
mRloc16
uint16_t
RLOC16.
mSupportsErrRate
bool
mFrameErrorRate and mMessageErrorRate values are valid.
mVersion
uint16_t
Version.

Public attributes

mAverageRssi

int8_t otMeshDiagRouterNeighborEntry::mAverageRssi

Average RSSI.

mConnectionTime

uint32_t otMeshDiagRouterNeighborEntry::mConnectionTime

Seconds since link establishment.

mExtAddress

otExtAddress otMeshDiagRouterNeighborEntry::mExtAddress

Extended Address.

mFrameErrorRate

uint16_t otMeshDiagRouterNeighborEntry::mFrameErrorRate

Frame error rate (0x0000->0%, 0xffff->100%).

mLastRssi

int8_t otMeshDiagRouterNeighborEntry::mLastRssi

RSSI of last received frame.

mLinkMargin

uint8_t otMeshDiagRouterNeighborEntry::mLinkMargin

Link Margin in dB.

mMessageErrorRate

uint16_t otMeshDiagRouterNeighborEntry::mMessageErrorRate

(IPv6) msg error rate (0x0000->0%, 0xffff->100%).

mRloc16

uint16_t otMeshDiagRouterNeighborEntry::mRloc16

RLOC16.

mSupportsErrRate

bool otMeshDiagRouterNeighborEntry::mSupportsErrRate

mFrameErrorRate and mMessageErrorRate values are valid.

mVersion

uint16_t otMeshDiagRouterNeighborEntry::mVersion

Version.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.