Represents information about a discovered Border Agent.

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#

const char *

The service name.

const char *

The host name. May be NULL if not known yet.

uint16_t

The port number. Can be zero if not known yet.

const uint8_t *

The TXT data. May be NULL if not known yet.

uint16_t

The TXT data length.

const otIp6Address *

Array of IPv6 addresses of the host. May be NULL if not known yet.

uint16_t

Number of addresses in the mAddresses array.

uint64_t

Milliseconds since the service was discovered.

uint64_t

Milliseconds since the last change (port, TXT, or addresses).

Public Attribute Documentation#

mServiceName#

const char* otBorderAgentTrackerAgentInfo::mServiceName

The service name.


mHostName#

const char* otBorderAgentTrackerAgentInfo::mHostName

The host name. May be NULL if not known yet.


mPort#

uint16_t otBorderAgentTrackerAgentInfo::mPort

The port number. Can be zero if not known yet.


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.


mAddresses#

const otIp6Address* otBorderAgentTrackerAgentInfo::mAddresses

Array of IPv6 addresses of the host. May be NULL if not known yet.


mNumAddresses#

uint16_t otBorderAgentTrackerAgentInfo::mNumAddresses

Number of addresses in the mAddresses array.


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).