otBorderAgentTrackerAgentInfo
#include <border_agent_tracker.h>
Represents information about a discovered Border Agent.
Summary
To ensure consistent mMsecSinceDiscovered
and mMsecSinceLastChange
time calculations, the iterator's initialization time is stored within the iterator when otBorderAgentTrackerInitIterator()
is called. The time values in this struct are calculated relative to the iterator's initialization time.
Public attributes |
|
---|---|
mAddresses
|
const otIp6Address *
Array of IPv6 addresses of the host. May be NULL if not known yet.
|
mHostName
|
const char *
The host name. May be NULL if not known yet.
|
mMsecSinceDiscovered
|
uint64_t
Milliseconds since the service was discovered.
|
mMsecSinceLastChange
|
uint64_t
Milliseconds since the last change (port, TXT, or addresses).
|
mNumAddresses
|
uint16_t
Number of addresses in the
mAddresses array. |
mPort
|
uint16_t
The port number. Can be zero if not known yet.
|
mServiceName
|
const char *
The service name.
|
mTxtData
|
const uint8_t *
The TXT data. May be NULL if not known yet.
|
mTxtDataLength
|
uint16_t
The TXT data length.
|
Public attributes
mAddresses
const otIp6Address * otBorderAgentTrackerAgentInfo::mAddresses
Array of IPv6 addresses of the host. May be NULL if not known yet.
mHostName
const char * otBorderAgentTrackerAgentInfo::mHostName
The host name. May be NULL if not known yet.
mMsecSinceDiscovered
uint64_t otBorderAgentTrackerAgentInfo::mMsecSinceDiscovered
Milliseconds since the service was discovered.
mMsecSinceLastChange
uint64_t otBorderAgentTrackerAgentInfo::mMsecSinceLastChange
Milliseconds since the last change (port, TXT, or addresses).
mNumAddresses
uint16_t otBorderAgentTrackerAgentInfo::mNumAddresses
Number of addresses in the mAddresses
array.
mPort
uint16_t otBorderAgentTrackerAgentInfo::mPort
The port number. Can be zero if not known yet.
mServiceName
const char * otBorderAgentTrackerAgentInfo::mServiceName
The service name.
mTxtData
const uint8_t * otBorderAgentTrackerAgentInfo::mTxtData
The TXT data. May be NULL if not known yet.
mTxtDataLength
uint16_t otBorderAgentTrackerAgentInfo::mTxtDataLength
The TXT data length.
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.