You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
660 B
19 lines
660 B
/*
|
|
* 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);
|
|
}
|