ESP-IDF
ot::Srp::Client::Service::GetLease() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Srp::Client::Service::GetLease() const
ot::Srp::Client::Service::GetLease() const method
Gets the desired lease interval to request when registering this service.
Syntax
Show:
Summary
Declaration
from
srp_client.hpp:266
uint32_t
GetLease
(
void
)
const
;
Return value
The desired lease interval in sec. Zero indicates to use default.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint32_t
GetLease
(
void
)
const
{
return
(
mLease
&
kLeaseMask
)
;
}
srp_client.hpp:266
uint32_t
lease
=
DetermineLeaseInterval
(
aService
.
GetLease
(
)
,
mDefaultLease
)
;
srp_client.cpp:1335
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
Call Tree
from
examples
ot::Srp::Client::Service::GetLease() const
is called by 2 functions:
ot::Srp::Client::CanAppendService()
ot::Srp::Client::ShouldRenewEarly() const
All items filtered out
ot::Srp::Client::Service::GetLease() const
All items filtered out
Data Use
from
examples
ot::Srp::Client::Service::GetLease() const
reads 2 variables:
otSrpClientService::mLease
ot::Srp::Client::Service::kLeaseMask
All items filtered out
ot::Srp::Client::Service::GetLease() 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