openthread_sys

Function otPlatTrelDisable

Source
pub unsafe extern "C" fn otPlatTrelDisable(aInstance: *mut otInstance)
Expand description

Disables TREL platform layer.

After this call, the platform layer MUST stop DNS-SD browse on the service name “_trel._udp”, stop advertising the TREL DNS-SD service (from otPlatTrelRegisterService()) and MUST close the UDP socket used to receive TREL messages.

@pram[in] aInstance The OpenThread instance.