failed approach

This commit is contained in:
2020-11-19 18:24:03 +01:00
parent 349897d878
commit 6c23b00c22
324 changed files with 57839 additions and 11 deletions

View File

@ -0,0 +1,35 @@
/*
* P60DockTestTask.h
*
* Created on: 18.11.2020
* Author: jakob
*/
#ifndef TEST_TESTTASKS_P60DOCKTESTTASK_H_
#define TEST_TESTTASKS_P60DOCKTESTTASK_H_
extern "C" {
#include <csp/csp.h>
#include <csp/interfaces/csp_if_can.h>
}
class P60DockTestTask: public ExecutableObjectIF {
public:
P60DockTestTask();
virtual ~P60DockTestTask();
virtual ReturnValue_t performOperation(uint8_t operationCode = 0);
private:
/* Interface struct for csp protocol stack */
csp_iface_t csp_if;
uint32_t canExtMsgId = 4;
/* CAN configuration struct for SocketCAN interface "can0" */
struct csp_can_config can_conf = {.ifc = "can0"};
ReturnValue_t sendPacket(void);
};
#endif /* TEST_TESTTASKS_P60DOCKTESTTASK_H_ */