#include "bsp_linux/comIF/cookies/P60DockCookie.h" P60DockCookie::P60DockCookie(char* canInterface_, uint8_t cspAddress_) : canInterface(canInterface_), cspAddress(cspAddress_) { } P60DockCookie::~P60DockCookie() { } uint8_t P60DockCookie::getCspAddress(){ return cspAddress; } char* P60DockCookie::getCanIf(){ return canInterface; } int P60DockCookie::getBitrate(){ return bitrate; } void P60DockCookie::setPingMessage(){ nextMessage = PING; } void P60DockCookie::setRebootMessage(){ nextMessage = REBOOT; } void P60DockCookie::setReadModuleCfgMessage(){ nextMessage = READ_MODULE_CONFIG; } MessageType_t P60DockCookie::getMessageType(){ return nextMessage; }