Page 2 of 2

Re: Receive data over SDU

Posted: Thu Jan 17, 2013 12:16 pm
by Giovanni
The first parameter is an even source, the macro chnGetEventSource() returns the event source of an I/O channel.

chEvtDispatch() is called in a loop because you want to serve all events received not just he first one.

If you look in the development forum there is a very good guide to events in a recent thread.

Giovanni