le_wdog_interface.h
Go to the documentation of this file.
61 //--------------------------------------------------------------------------------------------------65 //--------------------------------------------------------------------------------------------------68 //--------------------------------------------------------------------------------------------------71 * Connect the current client thread to the service providing this API. Block until the service is75 * called before any other functions in this API. Normally, ConnectService is automatically called80 //--------------------------------------------------------------------------------------------------86 //--------------------------------------------------------------------------------------------------89 * Try to connect the current client thread to the service providing this API. Return with an error93 * called before any other functions in this API. Normally, ConnectService is automatically called102 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).105 //--------------------------------------------------------------------------------------------------111 //--------------------------------------------------------------------------------------------------115 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants118 //--------------------------------------------------------------------------------------------------125 //--------------------------------------------------------------------------------------------------131 * longer a connection to the service, and the functions in this API can't be used. For details, see136 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------147 //--------------------------------------------------------------------------------------------------150 //--------------------------------------------------------------------------------------------------154 //--------------------------------------------------------------------------------------------------157 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------163 (168 //--------------------------------------------------------------------------------------------------172 * Once the watchdog has been kicked it must be kicked again before the expiration of the current175 //--------------------------------------------------------------------------------------------------181 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------218 //--------------------------------------------------------------------------------------------------le_result_t le_wdog_GetWatchdogTimeout(uint64_t *millisecondsPtr)void(* le_wdog_ExternalWatchdogHandlerFunc_t)(void *contextPtr)Definition: le_wdog_interface.h:163void(* le_wdog_DisconnectHandler_t)(void *)Definition: le_wdog_interface.h:66void 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)void le_wdog_SetServerDisconnectHandler(le_wdog_DisconnectHandler_t disconnectHandler, void *contextPtr)