openthread_sys

Function otDnssdQueryHandleDiscoveredServiceInstance

Source
pub unsafe extern "C" fn otDnssdQueryHandleDiscoveredServiceInstance(
    aInstance: *mut otInstance,
    aServiceFullName: *const c_char,
    aInstanceInfo: *mut otDnssdServiceInstanceInfo,
)
Expand description

Notifies a discovered service instance.

The external query resolver (e.g. Discovery Proxy) should call this function to notify OpenThread core of the subscribed services or service instances.

@note @p aInstanceInfo must not contain unspecified or link-local or loop-back or multicast IP addresses.

@param[in] aInstance The OpenThread instance structure. @param[in] aServiceFullName The null-terminated full service name. @param[in] aInstanceInfo A pointer to the discovered service instance information.