/* * HeartbeatRequest.cpp * * Created on: Jul 13, 2021 * Author: Andreas Berthoud */ #include "HeartbeatCommand.hpp" HeartbeatResponse::HeartbeatResponse(com_channel_type_t com_channel_type, uint16_t response_identifier) : Response(com_channel_type, response_identifier) { }; HeartbeatRequest::HeartbeatRequest(com_channel_type_t com_channel_type, uint8_t * request_payload_ptr, uint16_t size) : Request(com_channel_type, request_payload_ptr, size) { } Response * HeartbeatRequest::execute_request(com_channel_type_t com_channel_type, uint16_t response_identifier) { return new HeartbeatResponse(com_channel_type, response_identifier); }