#include "legato.h"
Go to the source code of this file.
◆ IFGEN_LE_WDOG_PROTOCOL_ID
#define IFGEN_LE_WDOG_PROTOCOL_ID "572ba176b790548eed89b7ba6f9f4b14" |
◆ IFGEN_LE_WDOG_MSG_SIZE
#define IFGEN_LE_WDOG_MSG_SIZE 20 |
◆ LE_WDOG_TIMEOUT_NEVER
#define LE_WDOG_TIMEOUT_NEVER -1 |
Suspend the watchdog so that it never times out.
◆ LE_WDOG_TIMEOUT_NOW
#define LE_WDOG_TIMEOUT_NOW 0 |
◆ le_wdog_ExternalWatchdogHandlerFunc_t
typedef void(* le_wdog_ExternalWatchdogHandlerFunc_t) (void *contextPtr) |
External watchdog kick handler
◆ ifgen_le_wdog_HasLocalBinding()
LE_SHARED bool ifgen_le_wdog_HasLocalBinding |
( |
void |
| ) |
|
Get if this client bound locally.
◆ ifgen_le_wdog_InitCommonData()
LE_SHARED void ifgen_le_wdog_InitCommonData |
( |
void |
| ) |
|
Init data that is common across all threads
◆ ifgen_le_wdog_CleanupCommonData()
Cleanup the data of a session
◆ ifgen_le_wdog_OpenSession()
Perform common initialization and open a session
◆ ifgen_le_wdog_Kick()
Kicks the watchdog timer.
Once the watchdog has been kicked it must be kicked again before the expiration of the current effective timeout else the configured WatchdogAction will be executed.
◆ ifgen_le_wdog_Timeout()
Set a time out.
The watchdog is kicked and a new effective timeout value is set. The new timeout will be effective until the next kick at which point it will revert to the original value.
- Parameters
-
[in] | milliseconds | The number of milliseconds until this timer expires |
◆ ifgen_le_wdog_GetWatchdogTimeout()
Get the watchdog timeout configured for this process
- Returns
- LE_OK The watchdog timeout is configured and returned
- LE_NOT_FOUND The watchdog timeout is not set
- Parameters
-
[out] | millisecondsPtr | The watchdog timeout set for this process |
◆ ifgen_le_wdog_GetMaxWatchdogTimeout()
Get the max watchdog timeout configured for this process
- Returns
- LE_OK The max watchdog timeout is configured and returned
- LE_NOT_FOUND The max watchdog timeout is not set
- Parameters
-
[out] | millisecondsPtr | The max watchdog timeout set for this process |