![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First version
Dependencies: mbed EthernetInterface mbed-rto
Receiver.h
- Committer:
- KlaasGovaerts
- Date:
- 2018-05-15
- Revision:
- 75:31c15986b85e
- Parent:
- 30:915f6cb7ffa5
- Child:
- 76:c0c7c3f37be2
File content as of revision 75:31c15986b85e:
#include "rtos.h" #include "Interpreter.h" #include "TCPlistener.h" #ifndef RECEIVER_H #define RECEIVER_H class Receiver{ private: Queue<int,8>* queue; Interpreter interpreter; TCPlistener listener; char command[512]; public: /** *@param queue The queue where received and interpreted commands will we pushed. */ Receiver(Queue<int,8>* queue); /** *Start a loop that will receive packets, and push their contents on the queue. *This method should be called last. */ void start(); }; #endif