Represents a DNS-SD service.
See otPlatDnssdRegisterService()
, otPlatDnssdUnregisterService()
for more details about fields in each case.
Public Attributes#
The host name (does not include domain name).
The service instance name label (not the full name).
The service type (e.g., "_mt._udp", does not include domain name).
Array of sub-type labels (can be NULL if no label).
Length of array of sub-type labels.
Encoded TXT data bytes.
Length of TXT data.
The service port number.
The service priority.
The service weight.
The service TTL in seconds.
The infrastructure network interface index.
Public Attribute Documentation#
mHostName#
const char* otPlatDnssdService::mHostName
The host name (does not include domain name).
94
of file include/openthread/platform/dnssd.h
mServiceInstance#
const char* otPlatDnssdService::mServiceInstance
The service instance name label (not the full name).
95
of file include/openthread/platform/dnssd.h
mServiceType#
const char* otPlatDnssdService::mServiceType
The service type (e.g., "_mt._udp", does not include domain name).
96
of file include/openthread/platform/dnssd.h
mSubTypeLabels#
const char* const* otPlatDnssdService::mSubTypeLabels
Array of sub-type labels (can be NULL if no label).
97
of file include/openthread/platform/dnssd.h
mSubTypeLabelsLength#
uint16_t otPlatDnssdService::mSubTypeLabelsLength
Length of array of sub-type labels.
98
of file include/openthread/platform/dnssd.h
mTxtData#
const uint8_t* otPlatDnssdService::mTxtData
Encoded TXT data bytes.
99
of file include/openthread/platform/dnssd.h
mTxtDataLength#
uint16_t otPlatDnssdService::mTxtDataLength
Length of TXT data.
100
of file include/openthread/platform/dnssd.h
mPort#
uint16_t otPlatDnssdService::mPort
The service port number.
101
of file include/openthread/platform/dnssd.h
mPriority#
uint16_t otPlatDnssdService::mPriority
The service priority.
102
of file include/openthread/platform/dnssd.h
mWeight#
uint16_t otPlatDnssdService::mWeight
The service weight.
103
of file include/openthread/platform/dnssd.h
mTtl#
uint32_t otPlatDnssdService::mTtl
The service TTL in seconds.
104
of file include/openthread/platform/dnssd.h
mInfraIfIndex#
uint32_t otPlatDnssdService::mInfraIfIndex
The infrastructure network interface index.
105
of file include/openthread/platform/dnssd.h