otNetworkDiagTlv Struct Reference

This structure represents a Network Diagnostic TLV.

#include < include/openthread/netdiag.h >

Public Attributes

uint8_t mType
The Network Diagnostic TLV type.
union {
otExtAddress mExtAddress
uint16_t mAddr16
otLinkModeConfig mMode
uint32_t mTimeout
otNetworkDiagConnectivity mConnectivity
otNetworkDiagRoute mRoute
otLeaderData mLeaderData
otNetworkDiagMacCounters mMacCounters
uint8_t mBatteryLevel
uint16_t mSupplyVoltage
uint32_t mMaxChildTimeout
struct {
uint8_t mCount
uint8_t m8 [ OT_NETWORK_BASE_TLV_MAX_LENGTH ]
} mNetworkData
struct {
uint8_t mCount
otIp6Address mList [ OT_NETWORK_BASE_TLV_MAX_LENGTH / OT_IP6_ADDRESS_SIZE ]
} mIp6AddrList
struct {
uint8_t mCount
otNetworkDiagChildEntry mTable [ OT_NETWORK_BASE_TLV_MAX_LENGTH / OT_NETWORK_DIAGNOSTIC_CHILD_TABLE_ENTRY_SIZE ]
} mChildTable
struct {
uint8_t mCount
uint8_t m8 [ OT_NETWORK_BASE_TLV_MAX_LENGTH ]
} mChannelPages
} mData

This structure represents a Network Diagnostic TLV.


The documentation for this struct was generated from the following file:
  • include/openthread/ netdiag.h