pub unsafe extern "C" fn otSrpClientSetLeaseInterval(
    aInstance: *mut otInstance,
    aInterval: u32
)
Expand description

Sets the default lease interval used in SRP update requests.

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

Changing the lease interval does not impact the accepted lease interval of already registered services/host-info. It only affects any future SRP update messages (i.e., adding new services and/or refreshes of the existing services).

@param[in] aInstance A pointer to the OpenThread instance. @param[in] aInterval The lease interval (in seconds). If zero, the default value specified by OPENTHREAD_CONFIG_SRP_CLIENT_DEFAULT_LEASE would be used.