Hi,

Ok the issue I posted earlier regarding the read function. It seems
that it IS recieving can messages and displaying them correctly. Only
its behaviour is not as I expected. I thought the function

rt_dev_recvfrom

would simply perform a read one frame from a buffer (which in my
experience holds a number of can messages) then exit.

By the look of things I will have to implement the aforementioned
buffer myself. I.e

run rt_dev_recvfrom in a separate thread other than my periodic task
and store an x number of messages in BUFFER that I recieve there. The
can_read() function which I implement in the periodic task must then
simply read the messages from BUFFER.

Can this be confirmed or is rt_dev_recvfrom() behaving incorrectly in my case?

Kind regards,

Roland.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to