openthread_sys

Function otDnssdQueryHandleDiscoveredHost

Source
pub unsafe extern "C" fn otDnssdQueryHandleDiscoveredHost(
    aInstance: *mut otInstance,
    aHostFullName: *const c_char,
    aHostInfo: *mut otDnssdHostInfo,
)
Expand description

Notifies a discovered host.

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

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

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