openthread_sys

Function otSrpServerSetEnabled

Source
pub unsafe extern "C" fn otSrpServerSetEnabled(
    aInstance: *mut otInstance,
    aEnabled: bool,
)
Expand description

Enables/disables the SRP server.

On a Border Router, it is recommended to use otSrpServerSetAutoEnableMode() instead.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnabled A boolean to enable/disable the SRP server.