ot::Srp::Server::SetLeaseConfig() method
Sets the LEASE and KEY-LEASE configurations. When a LEASE time is requested from a client, the granted value will be limited in range [aMinLease, aMaxLease]; and a KEY-LEASE will be granted in range [aMinKeyLease, aMaxKeyLease].
Arguments
aLeaseConfig
A reference to the `LeaseConfig` instance.
Return value
kErrorNone Successfully set the LEASE and KEY-LEASE ranges. kErrorInvalidArgs The LEASE or KEY-LEASE range is not valid.
ot::Srp::Server::SetLeaseConfig() calls 1 function:
![]()
ot::Srp::Server::SetLeaseConfig()
ot::Srp::Server::SetLeaseConfig() reads 3 variables:
![]()
ot::Srp::Server::SetLeaseConfig()