/openthread-3.5.0/tests/unit/ |
D | test_trickle_timer.cpp | 111 uint32_t interval; in TestTrickleTimerPlainMode() local 118 // Validate that timer picks a random interval between min and max in TestTrickleTimerPlainMode() 128 interval = timer.GetInterval(); in TestTrickleTimerPlainMode() 129 VerifyOrQuit((interval >= kMinInterval) && (interval <= kMaxInterval)); in TestTrickleTimerPlainMode() 133 AdvanceTime(interval); in TestTrickleTimerPlainMode() 138 // interval between min and max. in TestTrickleTimerPlainMode() 141 interval = timer.GetInterval(); in TestTrickleTimerPlainMode() 142 VerifyOrQuit((interval >= kMinInterval) && (interval <= kMaxInterval)); in TestTrickleTimerPlainMode() 157 uint32_t interval; in TestTrickleTimerTrickleMode() local 169 // Validate that trickle timer starts with random interval between in TestTrickleTimerTrickleMode() [all …]
|
/openthread-3.5.0/src/core/common/ |
D | trickle_timer.hpp | 70 …kModePlainTimer, ///< Operate as a plain periodic timer with random interval selected within min/m… 115 * Gets the interval min value of the trickle timer. 117 * @returns The interval min value in milliseconds. 123 * Sets the interval min value of the trickle timer while timer is running. 125 …* If @p aIntervalMin is smaller than the current `GetIntervalMax()` the interval max value is also… 128 * @param[in] aIntervalMin The minimum interval in milliseconds. 134 * Gets the interval max value of the trickle timer. 136 * @returns The interval max value in milliseconds. 142 * Sets the interval max value of the trickle timer while timer is running. 144 …* If the given @p aIntervalMax is smaller than the current `GetIntervalMin()`, the interval min va… [all …]
|
D | trickle_timer.cpp | 60 // interval. in GetStartTimeOfCurrentInterval() 117 // Determine the end of the interval as if the new and shorter in SetIntervalMax() 158 // - Act as if current interval is already finished. in SetIntervalMax() 218 // Select interval randomly from range [Imin, Imax]. in Start() 236 // If interval is equal to minimum when an "inconsistent" event in IndicateInconsistent() 259 // Select a random point in the interval taken from the range [I/2, I). in StartNewInterval() 287 // within the current interval. Trickle timer invokes in HandleTimer() 297 // Interval has expired. Double the interval length and in HandleTimer()
|
D | time.hpp | 64 …static constexpr uint32_t kOneSecondInMsec = 1000u; ///< One second interval in ms… 65 …static constexpr uint32_t kOneMinuteInMsec = kOneSecondInMsec * 60; ///< One minute interval in ms… 66 …static constexpr uint32_t kOneHourInMsec = kOneMinuteInMsec * 60; ///< One hour interval in msec. 67 … static constexpr uint32_t kOneDayInMsec = kOneHourInMsec * 24; ///< One day interval in msec. 109 …* @note Expression `(t1 - t2)` returns the duration of the interval starting from `t2` and ending … 116 * @returns The duration of interval from @p aOther to this `Time` object.
|
/openthread-3.5.0/src/core/config/ |
D | child_supervision.h | 41 …* The default supervision interval in seconds to use when in child state. Zero indicates no superv… 43 * The current supervision interval can be changed using `otChildSupervisionSetInterval()`. 46 …* within the supervision interval. If there is no transmission to the child within the supervision… 57 …* The default supervision check timeout interval (in seconds) used by a device in child state. Set… 60 * The check timeout interval can be changed using `otChildSupervisionSetCheckTimeout()`. 62 …* If the sleepy child does not hear from its parent within the specified timeout interval, it init… 73 …* Specifies the default supervision interval to use on parent for children that do not explicitly … 74 …* desired supervision internal (do not include a "Supervision Interval TLV") and are running older… 78 …ack before adoption of it by Thread specification and addition of the "Supervision Interval TLV" as 79 * the mechanism for child to inform the parent of its desired supervision interval. [all …]
|
D | srp_client.h | 155 * Specifies the default requested lease interval (in seconds). Set to two hours. 165 * Specifies the default requested key lease interval (in seconds). Set to 14 days. 175 …* Specifies the guard interval (in seconds) for lease renew time. The guard interval determines ho… 191 …* The "early lease renewal interval" is used to determine if a service can renew early. The interv… 192 …* multiplying the accepted lease interval by the "early lease renewal factor" which is given as a … 199 …* Default value is 1/2 (i.e., services that are within half of the lease interval are allowed to r… 253 * Specifies the minimum wait interval (in msec) between SRP update message retries. 256 …* interval starts from the minimum value and is increased by the growth factor every failure up to… 266 * Specifies the maximum wait interval (in msec) between SRP update message retries. 276 …* Specifies jitter (in msec) for retry wait interval. If the current retry wait interval is smalle… [all …]
|
D | mle.h | 137 * The backoff time starts from a minimum interval specified by 141 …* Once the wait time reaches the maximum, a random jitter interval is added to it. The maximum val… 143 * range `[-JITTER, +JITTER]`. It is only added when the backoff wait interval is at maximum value. 153 * Specifies the minimum backoff wait interval (in milliseconds) used by attach backoff feature. 167 * Specifies the maximum backoff wait interval (in milliseconds) used by attach backoff feature. 181 * Specifies the maximum jitter interval (in milliseconds) used by attach backoff feature. 195 …* Specifies the delay wait interval (in milliseconds) used by attach backoff feature after a succe… 196 * it resets the current backoff interval back to the minimum value. 198 …* If it is set to zero then the device resets its backoff attach interval immediately after a succ… 199 … if after a successful attach, the device happens to detach within the delay interval, the reattach [all …]
|
D | announce_sender.h | 53 * Specifies the time interval (in milliseconds) between `AnnounceSender` transmit cycles. 56 …* The transmissions on different channels happen uniformly over the given interval (i.e., if there… 57 …* there will be 16 MLE Announcement messages each on one channel with `interval / 16` between two… 70 …he number of MLE Announcement messages that the device must receive within a cycle interval to skip 85 …* Specifies the jitter interval (in milliseconds) used by `AnnounceSender`. A random jitter interv…
|
D | mesh_forwarder.h | 92 …* Specifies the time-in-queue threshold interval in milliseconds to mark ECN on a message if it is… 103 * Specifies the time-in-queue threshold interval in milliseconds to drop a message. 162 …ata consists of number of bins, each representing a range of time-in-queue values. The bin interval 164 …* maximum tracked interval is given by the `OPENTHREAD_CONFIG_TX_QUEUE_STATISTICS_HISTOGRAM_MAX_IN… 176 …* Specifies the maximum time-in-queue interval in milliseconds tracked by the histogram when the T… 180 …* maximum time-in-queue interval after which a non-ECN capable message is dropped by delay-aware q… 192 …* Specifies the time-in-queue histogram bin interval in milliseconds when the TX queue time-in-que…
|
D | channel_monitor.h | 51 * The sample interval in milliseconds used by Channel Monitoring feature. 54 * interval. 83 …* The averaging sample window length (in units of channel sample interval) used by Channel Monitor… 85 …* Channel monitoring will sample all channels every sample interval. It maintains the average rate…
|
D | parent_search.h | 48 …* check interval (in seconds) and `OPENTHREAD_CONFIG_PARENT_SEARCH_RSS_THRESHOLD` gives the RSS th… 52 …* another one before a specified backoff interval specified by `OPENTHREAD_CONFIG_PARENT_SEARCH_BA… 62 …* Specifies the interval in seconds for a child to check the trigger condition to perform a parent… 74 …* Specifies the backoff interval in seconds for a child to not perform a parent search after trigg…
|
/openthread-3.5.0/src/core/thread/ |
D | announce_sender.hpp | 76 …the specified channel mask from `GetChannelMask()`, with `GetPeriod()` as the time interval between 78 …* `GetJitter()` value is used to add a random interval from `[-jitter, jitter]` to each period int… 88 * transmission happens within a short random interval selected from range `[0, jitter]`. 111 * Gets the period interval. 113 * @returns The period interval (in milliseconds). 119 * Sets the period interval. 121 …* The period along with jitter value from (`Get/SetJitter()`) determines the interval between two … 124 * @param[in] aPeriod The period interval (in milliseconds). 130 * Gets the current jitter interval. 132 * @returns The jitter interval (in milliseconds). [all …]
|
D | child_supervision.hpp | 59 * a fixed interval, namely the supervision interval. If there 61 * interval, child supervisor enqueues and sends a supervision 66 * for a pre-specified timeout interval it assumes that it may 176 * Sets the supervision interval. 178 …* @param[in] aInterval If non-zero, the desired supervision interval (in seconds), zero to disable… 184 * Returns the supervision interval. 186 * @returns The current supervision interval (seconds), or zero if supervision is disabled. 194 …* If the child does not hear from its parent within the given check timeout interval, it initiates… 199 * interval plus the maximum time between the child's data poll transmissions. 201 …* @param[in] aTimeout The timeout interval (in seconds), zero to disable the supervision check … [all …]
|
/openthread-3.5.0/include/openthread/ |
D | child_supervision.h | 55 * Gets the Child Supervision interval (in seconds) on a child. 58 …* within the supervision interval. If there is no transmission to the child within the supervision… 63 * @returns The child supervision interval. Zero indicates that supervision is disabled. 69 * Sets the child supervision interval (in seconds) on the child. 72 * @param[in] aInterval The supervision interval (in seconds). Zero to disable supervision. 78 * Gets the supervision check timeout interval (in seconds) on the child. 91 * Sets the supervision check timeout interval (in seconds) on the child. 103 * not hear from its parent within the specified check timeout interval.
|
D | srp_client.h | 96 * indicates that the interval is unspecified and then the default lease or key lease intervals from 98 …* interval (whether set explicitly or determined from the default) is shorter than the lease inter… 99 …* SRP client will re-use the lease interval value for key lease interval as well. For example, if … 117 …uint32_t mLease; ///< Desired lease interval in sec - zero to use defaul… 118 …uint32_t mKeyLease; ///< Desired key lease interval in sec - zero to use de… 164 …* update message to the server, after some wait interval. The retry wait interval starts from the … 211 * delay interval. 344 …* By default, the TTL will equal the lease interval. Passing 0 or a value larger than the lease in… 345 * `otSrpClientSetTtl()` will also cause the TTL to equal the lease interval. 361 …* @param[in] aTtl The TTL (in seconds). If value is zero or greater than lease interval, th… [all …]
|
D | channel_manager.h | 92 …* The delay should preferably be longer than the maximum data poll interval used by all sleepy-end… 137 …led, `ChannelManager` will periodically invoke a `RequestChannelSelect(false)`. The period interval 157 * Sets the period interval (in seconds) used by auto-channel-selection functionality. 160 * @param[in] aInterval The interval in seconds. 162 * @retval OT_ERROR_NONE The interval was set successfully. 169 * Gets the period interval (in seconds) used by auto-channel-selection functionality. 173 * @returns The interval in seconds.
|
/openthread-3.5.0/tests/toranj/ncp/ |
D | test-029-data-poll-interval.py | 34 # Test description: Verify transmission of data polls and poll interval change. 58 parent.form("poll-interval") 65 # Verify the default poll interval is smaller than child_timeout 88 …print("poll interval {} ms, polls -> actual {}, expected {}".format(poll_interval, actual_polls, e… 92 # Verify behavior when poll interval is switched from long to short. 94 # - Poll interval set to 5 seconds 96 # - Change poll interval to 200 ms 109 # Verify behavior when poll interval is set to zero. 110 # Poll interval should use default interval again (based on child timeout). 115 # Change "child timeout" and verify that default interval does change
|
/openthread-3.5.0/src/core/net/ |
D | srp_client.hpp | 281 * Gets the desired lease interval to request when registering this service. 283 * @returns The desired lease interval in sec. Zero indicates to use default. 289 * Gets the desired key lease interval to request when registering this service. 291 * @returns The desired lease interval in sec. Zero indicates to use default. 472 …* By default, the TTL will equal the lease interval. Passing 0 or a value larger than the lease in… 473 * `otSrpClientSetTtl()` will also cause the TTL to equal the lease interval. 486 …* @param[in] aTtl The TTL (in seconds). If value is zero or greater than lease interval, the TTL … 487 * lease interval. 493 * Gets the lease interval used in SRP update requests. 496 * different lease interval. [all …]
|
/openthread-3.5.0/tests/scripts/thread-cert/pktverify/ |
D | utils.py | 142 def colon_hex(hexstr, interval) -> str: argument 143 """ Convert hexstr to colon separated string every interval 146 :param interval: The interval number. 149 assert len(hexstr) % interval == 0 150 return ':'.join(hexstr[i:i + interval] for i in range(0, len(hexstr), interval))
|
/openthread-3.5.0/src/core/utils/ |
D | jam_detector.cpp | 178 // If the RSSI sample does not exceed the threshold, go back to max sample interval in HandleTimer() 179 // Otherwise, divide the sample interval by half while ensuring it does not go lower in HandleTimer() 180 // than minimum sample interval. in HandleTimer() 204 uint32_t interval = TimerMilli::GetNow() - mCurSecondStartTime; in UpdateHistory() local 207 // for current second interval. in UpdateHistory() 213 // If we reached end of current one second interval, update the history bitmap in UpdateHistory() 215 if (interval >= Time::kOneSecondInMsec) in UpdateHistory() 226 mCurSecondStartTime += (interval / Time::kOneSecondInMsec) * Time::kOneSecondInMsec; in UpdateHistory()
|
D | jam_detector.hpp | 172 * each bit corresponds to one second interval starting with bit 0 for the 173 * most recent interval and bit 63 for the oldest intervals (63 earlier). 175 * high signal level during the corresponding one second interval. 200 …nt64_t mHistoryBitmap; // History bitmap, each bit correspond to 1 sec interval 201 TimeMilli mCurSecondStartTime; // Start time for current 1 sec interval 202 uint16_t mSampleInterval; // Current sample interval 206 bool mAlwaysAboveThreshold : 1; // State for current 1 sec interval
|
D | channel_manager.hpp | 115 …* The delay should preferably be longer than maximum data poll interval used by all sleepy-end-dev… 160 …led, `ChannelManager` will periodically invoke a `RequestChannelSelect(false)`. The period interval 177 * Sets the period interval (in seconds) used by auto-channel-selection functionality. 179 * @param[in] aInterval The interval (in seconds). 181 * @retval kErrorNone The interval was set successfully. 188 * Gets the period interval (in seconds) used by auto-channel-selection functionality. 190 * @returns The interval (in seconds). 244 // Retry interval to resend Pending Dataset in case of tx failure (in ms).
|
/openthread-3.5.0/tests/scripts/thread-cert/ |
D | Cert_5_3_06_RouterIdMask.py | 183 # 0.0s: Reset Interval, reset interval to 1 seconds, random interval at 0.5 second 185 # 1.0s: Set interval to 2 seconds, random interval at 2 seconds 186 … # 3.0s: Receive MLE Advertisement, reset interval to 1 second, random interval at 1.0 second
|
/openthread-3.5.0/tests/scripts/expect/ |
D | cli-channel.exp | 48 expect -re {interval: \d+} 70 send "channel manager interval 20000\n" 82 expect "interval: 20000"
|
/openthread-3.5.0/src/cli/ |
D | README_SRP_CLIENT.md | 254 Usage: `srp client keyleaseinterval [interval]` 256 Get the key lease interval (in seconds). 265 Set the key lease interval. 274 Usage: `srp client leaseinterval [interval]` 276 Get the lease interval (in seconds). 285 Set the lease interval.
|