31 lines
656 B
C++
31 lines
656 B
C++
/*
|
|
* Cookie.cpp
|
|
*
|
|
* Created on: 02/06/2021
|
|
* Author: Marco Modè
|
|
*
|
|
*/
|
|
|
|
#include <mission/DeviceHandler/ArduinoCookie.h>
|
|
|
|
//The cookie tells to device handler which is the device to communicate with if more
|
|
// devices are connected. In this case only one device, the Arduino motherboard, is
|
|
// connected. Therefore the cookie adress and MaxLen are set to default.
|
|
|
|
ArduinoCookie::ArduinoCookie() {}
|
|
ArduinoCookie::~ArduinoCookie() {}
|
|
|
|
/*
|
|
address_t ArduinoCookie::getAddress() const {
|
|
return address;
|
|
}
|
|
|
|
size_t ArduinoCookie::getReplyMaxLen() const {
|
|
return replyMaxLen;
|
|
}
|
|
|
|
int ArduinoCookie::getSerialPort() const {
|
|
return Serial_port_number;
|
|
}
|
|
*/
|