Function openthread_sys::otSrpClientSetTtl
source ยท pub unsafe extern "C" fn otSrpClientSetTtl(
aInstance: *mut otInstance,
aTtl: u32,
)
Expand description
Sets the TTL value in every record included in SRP update requests.
Changing the TTL does not impact the TTL of already registered services/host-info. It only affects 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] aTtl The TTL (in seconds). If value is zero or greater than lease interval, the TTL is set to the lease interval.