openthread_sys

Function otSrpClientGetLeaseInterval

Source
pub unsafe extern "C" fn otSrpClientGetLeaseInterval(
    aInstance: *mut otInstance,
) -> u32
Expand description

Gets the default lease interval used in SRP update requests.

The default interval is used only for otSrpClientService instances with mLease set to zero.

Note that this is the lease duration requested by the SRP client. The server may choose to accept a different lease interval.

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

@returns The lease interval (in seconds).