le_wdog_interface.h
Go to the documentation of this file.
62 //--------------------------------------------------------------------------------------------------66 //--------------------------------------------------------------------------------------------------69 //--------------------------------------------------------------------------------------------------72 * Connect the current client thread to the service providing this API. Block until the service is76 * called before any other functions in this API. Normally, ConnectService is automatically called81 //--------------------------------------------------------------------------------------------------87 //--------------------------------------------------------------------------------------------------90 * Try to connect the current client thread to the service providing this API. Return with an error94 * called before any other functions in this API. Normally, ConnectService is automatically called103 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).106 //--------------------------------------------------------------------------------------------------112 //--------------------------------------------------------------------------------------------------116 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants119 //--------------------------------------------------------------------------------------------------126 //--------------------------------------------------------------------------------------------------132 * longer a connection to the service, and the functions in this API can't be used. For details, see137 //--------------------------------------------------------------------------------------------------144 //--------------------------------------------------------------------------------------------------148 //--------------------------------------------------------------------------------------------------151 //--------------------------------------------------------------------------------------------------155 * Once the watchdog has been kicked it must be kicked again before the expiration of the current158 //--------------------------------------------------------------------------------------------------164 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------178 //--------------------------------------------------------------------------------------------------186 //--------------------------------------------------------------------------------------------------193 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------le_result_t le_wdog_GetWatchdogTimeout(uint64_t *millisecondsPtr)void(* le_wdog_DisconnectHandler_t)(void *)Definition: le_wdog_interface.h:67LE_FULL_API void le_wdog_SetServerDisconnectHandler(le_wdog_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_wdog_Kick(void)le_result_t le_wdog_TryConnectService(void)le_result_t le_wdog_GetMaxWatchdogTimeout(uint64_t *millisecondsPtr)void le_wdog_Timeout(int32_t milliseconds)void le_wdog_DisconnectService(void)void le_wdog_ConnectService(void)