33 lines
790 B
C++
33 lines
790 B
C++
/*
|
|
* ArduinoCookie.h
|
|
*
|
|
* Last Modify: 20/09/2021
|
|
* Author: Marco Modè
|
|
*
|
|
*/
|
|
|
|
#ifndef MISSION_DEVICEHANDLER_ARDUINOCOOKIE_H_
|
|
#define MISSION_DEVICEHANDLER_ARDUINOCOOKIE_H_
|
|
|
|
#include <fsfw/devicehandlers/CookieIF.h>
|
|
#include <cstddef>
|
|
|
|
/**
|
|
* @brief Simple cookie which initialize the variables
|
|
* for the Linux serial port.
|
|
* @details The ArduinoCookie is instantiated in the generic factory.
|
|
* @author: Marco Modè
|
|
* @ingroup mission/DeviceHandler
|
|
*/
|
|
class ArduinoCookie: public CookieIF {
|
|
public:
|
|
ArduinoCookie();
|
|
virtual ~ArduinoCookie();
|
|
|
|
// Serial port for the communication with Arduino board is here initialized.
|
|
// It will be exploited in the ComIF to manage the computer serial port.
|
|
int Serial_port_number;
|
|
};
|
|
|
|
#endif /* MISSION_DEVICEHANDLER_ARDUINOCOOKIE_H_ */
|