3 #include "../socket/socket.h" 35 SCP(
Socket* *sockets, uint8_t number_of_sockets);
44 void Send(uint8_t priority, uint8_t command, uint8_t *data, uint8_t length_of_data);
52 bool Receive(uint8_t &command, uint8_t *data, uint8_t &length_of_data);
bool Receive(uint8_t &command, uint8_t *data, uint8_t &length_of_data)
Definition: scp.cpp:7
void Send(uint8_t priority, uint8_t command, uint8_t *data, uint8_t length_of_data)
Definition: scp.cpp:24
Socket ** sockets
Definition: scp.h:20
A socket which defines the communication in a CAN channel.
Definition: socket.h:14
SCP (Simple Command Protocol) is an application layer protocol designed to send commands.
Definition: scp.h:13
uint8_t number_of_sockets
Definition: scp.h:25
SCP(Socket **sockets, uint8_t number_of_sockets)
Definition: scp.cpp:5