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
495 B
19 lines
495 B
/*
|
|
* HeartbeatRequest.cpp
|
|
*
|
|
* Created on: Jul 13, 2021
|
|
* Author: Andreas Berthoud
|
|
*/
|
|
|
|
#include "HeartbeatCommand.hpp"
|
|
|
|
HeartbeatResponse::HeartbeatResponse(uint16_t response_identifier)
|
|
: Response(response_identifier) {
|
|
};
|
|
|
|
HeartbeatRequest::HeartbeatRequest(uint8_t * request_payload_ptr, uint16_t size)
|
|
: Request(request_payload_ptr, size) { }
|
|
|
|
Response * HeartbeatRequest::execute_request(uint16_t response_identifier) {
|
|
return new HeartbeatResponse(response_identifier);
|
|
}
|