demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Receiver.cpp

Committer:
KlaasGovaerts
Date:
2018-05-15
Revision:
74:8c0068ed7c1e
Parent:
62:237e32fd3555

File content as of revision 74:8c0068ed7c1e:

#include "Receiver.h"

Receiver::Receiver(Queue<QueueMessage,1>* queue):interpreter(queue){
}

void Receiver::start(){
    while(true){
            listener.receiveSegment(command,sizeof(command));
            interpreter.executeCommand(command);
    }
}