openthread_sys

Function otSrpClientGetDomainName

Source
pub unsafe extern "C" fn otSrpClientGetDomainName(
    aInstance: *mut otInstance,
) -> *const c_char
Expand description

Gets the domain name being used by SRP client.

Requires OPENTHREAD_CONFIG_SRP_CLIENT_DOMAIN_NAME_API_ENABLE to be enabled.

If domain name is not set, “default.service.arpa” will be used.

@param[in] aInstance A pointer to the OpenThread instance.

@returns The domain name string.