ESP-IDF
ot::Srp::Client::DetermineLeaseInterval() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Srp::Client::DetermineLeaseInterval() const
ot::Srp::Client::DetermineLeaseInterval() const method
Syntax
Show:
Summary
Declaration
Definition
from
srp_client.hpp:1047
uint32_t
DetermineLeaseInterval
(
uint32_t
aInterval
,
uint32_t
aDefaultInterval
)
const
;
Implemented in
srp_client.cpp:2126
Arguments
Argument
aInterval
aDefaultInterval
Examples
References
from
examples
Code
Location
Scope
Referrer
uint32_t
Client
::
DetermineLeaseInterval
(
uint32_t
aInterval
,
uint32_t
aDefaultInterval
)
const
srp_client.cpp:2126
uint32_t
DetermineLeaseInterval
(
uint32_t
aInterval
,
uint32_t
aDefaultInterval
)
const
;
srp_client.hpp:1047
mLease
=
DetermineLeaseInterval
(
mLease
,
mDefaultLease
)
;
srp_client.cpp:1312
ot::Srp::Client
ot::Srp::Client::AppendServiceInstructions()
mKeyLease
=
DetermineLeaseInterval
(
mKeyLease
,
mDefaultKeyLease
)
;
srp_client.cpp:1313
ot::Srp::Client
ot::Srp::Client::AppendServiceInstructions()
uint32_t
lease
=
DetermineLeaseInterval
(
aService
.
GetLease
(
)
,
mDefaultLease
)
;
srp_client.cpp:1335
ot::Srp::Client
ot::Srp::Client::CanAppendService()
uint32_t
keyLease
=
Max
(
DetermineLeaseInterval
(
aService
.
GetKeyLease
(
)
,
mDefaultKeyLease
)
,
lease
)
;
srp_client.cpp:1336
ot::Srp::Client
ot::Srp::Client::CanAppendService()
earlyRenewInterval
=
Time
::
SecToMsec
(
DetermineLeaseInterval
(
aService
.
GetLease
(
)
,
mDefaultLease
)
)
;
srp_client.cpp:2165
ot::Srp::Client
ot::Srp::Client::ShouldRenewEarly() const
void
SetLeaseInterval
(
uint32_t
aInterval
)
{
mDefaultLease
=
DetermineLeaseInterval
(
aInterval
,
kDefaultLease
)
;
}
srp_client.hpp:476
ot::Srp::Client
ot::Srp::Client::SetLeaseInterval()
mDefaultKeyLease
=
DetermineLeaseInterval
(
aInterval
,
kDefaultKeyLease
)
;
srp_client.hpp:496
ot::Srp::Client
ot::Srp::Client::SetKeyLeaseInterval()
Call Tree
from
examples
ot::Srp::Client::DetermineLeaseInterval() const
is called by 5 functions:
ot::Srp::Client::AppendServiceInstructions()
ot::Srp::Client::CanAppendService()
ot::Srp::Client::ShouldRenewEarly() const
ot::Srp::Client::SetLeaseInterval()
ot::Srp::Client::SetKeyLeaseInterval()
All items filtered out
ot::Srp::Client::DetermineLeaseInterval() const
All items filtered out
Data Use
from
examples
ot::Srp::Client::DetermineLeaseInterval() const
reads 2 variables:
ot::Srp::Client::kMaxLease
ot::Srp::Client::kUnspecifiedInterval
All items filtered out
ot::Srp::Client::DetermineLeaseInterval() const
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out