Represents a TREL peer info discovered using DNS-SD browse on the service name "_trel._udp".
Public Attributes#
This boolean flag indicates whether the entry is being removed or added.
The TXT record data (encoded as specified by DNS-SD) from the SRV record of the discovered TREL peer service instance.
Number of bytes in mTxtData
buffer.
The TREL peer socket address (IPv6 address and port number).
Public Attribute Documentation#
mRemoved#
bool otPlatTrelPeerInfo::mRemoved
This boolean flag indicates whether the entry is being removed or added.
TRUE indicates that peer is removed.
FALSE indicates that it is a new entry or an update to an existing entry.
107
of file include/openthread/platform/trel.h
mTxtData#
const uint8_t* otPlatTrelPeerInfo::mTxtData
The TXT record data (encoded as specified by DNS-SD) from the SRV record of the discovered TREL peer service instance.
113
of file include/openthread/platform/trel.h
mTxtLength#
uint16_t otPlatTrelPeerInfo::mTxtLength
Number of bytes in mTxtData
buffer.
115
of file include/openthread/platform/trel.h
mSockAddr#
otSockAddr otPlatTrelPeerInfo::mSockAddr
The TREL peer socket address (IPv6 address and port number).
The port number is determined from the SRV record of the discovered TREL peer service instance. The IPv6 address is determined from the DNS-SD query for AAAA records on the hostname indicated in the SRV record of the discovered service instance. If multiple host IPv6 addressees are discovered, one with highest scope is used.
124
of file include/openthread/platform/trel.h