otDnssdServiceInstanceInfo

#include <dnssd_server.h>

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

Summary

Public attributes

mAddressNum
uint8_t
Number of host IPv6 addresses.
mAddresses
const otIp6Address *
Host IPv6 addresses.
mFullName
const char *
Full instance name (e.g. "OpenThread._ipps._tcp.default.service.arpa.").
mHostName
const char *
Host name (e.g. "ot-host.default.service.arpa.").
mPort
uint16_t
Service port.
mPriority
uint16_t
Service priority.
mTtl
uint32_t
Service TTL (in seconds).
mTxtData
const uint8_t *
Service TXT RDATA.
mTxtLength
uint16_t
Service TXT RDATA length.
mWeight
uint16_t
Service weight.

Public attributes

mAddressNum

uint8_t otDnssdServiceInstanceInfo::mAddressNum

Number of host IPv6 addresses.

mAddresses

const otIp6Address * otDnssdServiceInstanceInfo::mAddresses

Host IPv6 addresses.

mFullName

const char * otDnssdServiceInstanceInfo::mFullName

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

mHostName

const char * otDnssdServiceInstanceInfo::mHostName

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

mPort

uint16_t otDnssdServiceInstanceInfo::mPort

Service port.

mPriority

uint16_t otDnssdServiceInstanceInfo::mPriority

Service priority.

mTtl

uint32_t otDnssdServiceInstanceInfo::mTtl

Service TTL (in seconds).

mTxtData

const uint8_t * otDnssdServiceInstanceInfo::mTxtData

Service TXT RDATA.

mTxtLength

uint16_t otDnssdServiceInstanceInfo::mTxtLength

Service TXT RDATA length.

mWeight

uint16_t otDnssdServiceInstanceInfo::mWeight

Service weight.

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.