|
class | Test_M2MTimerImpl_linux |
|
bool M2MTimer::is_intermediate_interval_passed |
( |
| ) |
|
Checks if the intermediate interval has passed.
- Returns
- True if the interval has passed, else false.
bool M2MTimer::is_total_interval_passed |
( |
| ) |
|
Checks if the total interval has passed.
- Returns
- True if the interval has passed, else false.
void M2MTimer::start_dtls_timer |
( |
uint64_t |
intermediate_interval, |
|
|
uint64_t |
total_interval, |
|
|
M2MTimerObserver::Type |
type = M2MTimerObserver::Dtls |
|
) |
| |
Starts the timer in DTLS manner.
- Parameters
-
intermediate_interval | The intermediate interval to use, must be smaller than total (usually 1/4 of total). |
total_interval | The total interval to use; This is the timeout value of a DTLS packet. |
type | The type of the timer. |
Starts the timer.
- Parameters
-
interval | The timer interval in milliseconds. |
single_shot | Defines whether the timer is ticked once or restarted every time at expiry. |
The documentation for this class was generated from the following file:
- mbed-cloud-client/mbed-client/mbed-client/m2mtimer.h