Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed EthernetInterface mbed-rto
Receiver.h@30:915f6cb7ffa5, 2018-04-25 (annotated)
- Committer:
- KlaasGovaerts
- Date:
- Wed Apr 25 14:51:18 2018 +0000
- Revision:
- 30:915f6cb7ffa5
- Parent:
- 29:996da48a265c
- Child:
- 35:efdbfccf2678
- Child:
- 71:5e8ba1357442
- Child:
- 74:8c0068ed7c1e
- Child:
- 75:31c15986b85e
Reciever werkt multithreaded
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| KlaasGovaerts | 24:bf62c46acb3e | 1 | #include "rtos.h" |
| KlaasGovaerts | 29:996da48a265c | 2 | #include "Interpreter.h" |
| KlaasGovaerts | 29:996da48a265c | 3 | #include "TCPlistener.h" |
| KlaasGovaerts | 24:bf62c46acb3e | 4 | |
| KlaasGovaerts | 24:bf62c46acb3e | 5 | #ifndef RECEIVER_H |
| KlaasGovaerts | 24:bf62c46acb3e | 6 | #define RECEIVER_H |
| KlaasGovaerts | 24:bf62c46acb3e | 7 | class Receiver{ |
| KlaasGovaerts | 24:bf62c46acb3e | 8 | private: |
| KlaasGovaerts | 30:915f6cb7ffa5 | 9 | Queue<int,8>* queue; |
| KlaasGovaerts | 29:996da48a265c | 10 | Interpreter interpreter; |
| KlaasGovaerts | 29:996da48a265c | 11 | TCPlistener listener; |
| KlaasGovaerts | 29:996da48a265c | 12 | char command[512]; |
| KlaasGovaerts | 24:bf62c46acb3e | 13 | public: |
| KlaasGovaerts | 30:915f6cb7ffa5 | 14 | Receiver(Queue<int,8>* queue); |
| KlaasGovaerts | 29:996da48a265c | 15 | void start(); |
| KlaasGovaerts | 24:bf62c46acb3e | 16 | }; |
| KlaasGovaerts | 24:bf62c46acb3e | 17 | #endif |
