/** * Copyright Notice: * Copyright 2022 DMTF. All rights reserved. * License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/libspdm/blob/main/LICENSE.md **/ #include "base.h" #include "internal/libspdm_lib_config.h" #if LIBSPDM_ENABLE_CAPABILITY_HBEAT_CAP /** * If no heartbeat arrives in seconds, the watchdog timeout event * should terminate the session. * * @param session_id Indicate the SPDM session ID. * @param seconds heartbeat period, in seconds. * **/ bool libspdm_start_watchdog(uint32_t session_id, uint16_t seconds) { return true; } /** * stop watchdog. * * @param session_id Indicate the SPDM session ID. * **/ bool libspdm_stop_watchdog(uint32_t session_id) { return true; } /** * Reset the watchdog in heartbeat response. * * @param session_id Indicate the SPDM session ID. * **/ bool libspdm_reset_watchdog(uint32_t session_id) { return true; } #endif /* LIBSPDM_ENABLE_CAPABILITY_HBEAT_CAP */