le_wdog_interface.h
Go to the documentation of this file.
21 * Provides a kickable watchdog with a timeout that can be configured in <c> .adef</c> or specified at run49 //--------------------------------------------------------------------------------------------------53 //--------------------------------------------------------------------------------------------------56 //--------------------------------------------------------------------------------------------------59 * Connect the current client thread to the service providing this API. Block until the service is63 * called before any other functions in this API. Normally, ConnectService is automatically called68 //--------------------------------------------------------------------------------------------------74 //--------------------------------------------------------------------------------------------------77 * Try to connect the current client thread to the service providing this API. Return with an error81 * called before any other functions in this API. Normally, ConnectService is automatically called90 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).93 //--------------------------------------------------------------------------------------------------99 //--------------------------------------------------------------------------------------------------103 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants106 //--------------------------------------------------------------------------------------------------113 //--------------------------------------------------------------------------------------------------119 * longer a connection to the service, and the functions in this API can't be used. For details, see124 //--------------------------------------------------------------------------------------------------131 //--------------------------------------------------------------------------------------------------135 //--------------------------------------------------------------------------------------------------138 //--------------------------------------------------------------------------------------------------142 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------149 * Once the watchdog has been kicked it must be kicked again before the expiration of the current152 //--------------------------------------------------------------------------------------------------158 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------void(* le_wdog_DisconnectHandler_t)(void *)Definition: le_wdog_interface.h:54void le_wdog_Kick(void)le_result_t le_wdog_TryConnectService(void)void le_wdog_Timeout(int32_t milliseconds)void le_wdog_DisconnectService(void)void le_wdog_ConnectService(void)void le_wdog_SetServerDisconnectHandler(le_wdog_DisconnectHandler_t disconnectHandler, void *contextPtr)