Represents information of a discovered service instance for a DNS-SD query.

Public Attributes#

const char *

Full instance name (e.g. "OpenThread._ipps._tcp.default.service.arpa.").

const char *

Host name (e.g. "ot-host.default.service.arpa.").

uint8_t

Number of host IPv6 addresses.

const otIp6Address *

Host IPv6 addresses.

uint16_t

Service port.

uint16_t

Service priority.

uint16_t

Service weight.

uint16_t

Service TXT RDATA length.

const uint8_t *

Service TXT RDATA.

uint32_t

Service TTL (in seconds).

Public Attribute Documentation#

mFullName#

const char* otDnssdServiceInstanceInfo::mFullName

Full instance name (e.g. "OpenThread._ipps._tcp.default.service.arpa.").


Definition at line 115 of file include/openthread/dnssd_server.h

mHostName#

const char* otDnssdServiceInstanceInfo::mHostName

Host name (e.g. "ot-host.default.service.arpa.").


Definition at line 116 of file include/openthread/dnssd_server.h

mAddressNum#

uint8_t otDnssdServiceInstanceInfo::mAddressNum

Number of host IPv6 addresses.


Definition at line 117 of file include/openthread/dnssd_server.h

mAddresses#

const otIp6Address* otDnssdServiceInstanceInfo::mAddresses

Host IPv6 addresses.


Definition at line 118 of file include/openthread/dnssd_server.h

mPort#

uint16_t otDnssdServiceInstanceInfo::mPort

Service port.


Definition at line 119 of file include/openthread/dnssd_server.h

mPriority#

uint16_t otDnssdServiceInstanceInfo::mPriority

Service priority.


Definition at line 120 of file include/openthread/dnssd_server.h

mWeight#

uint16_t otDnssdServiceInstanceInfo::mWeight

Service weight.


Definition at line 121 of file include/openthread/dnssd_server.h

mTxtLength#

uint16_t otDnssdServiceInstanceInfo::mTxtLength

Service TXT RDATA length.


Definition at line 122 of file include/openthread/dnssd_server.h

mTxtData#

const uint8_t* otDnssdServiceInstanceInfo::mTxtData

Service TXT RDATA.


Definition at line 123 of file include/openthread/dnssd_server.h

mTtl#

uint32_t otDnssdServiceInstanceInfo::mTtl

Service TTL (in seconds).


Definition at line 124 of file include/openthread/dnssd_server.h