Hello,

First remark, I'm not familiar with CANopen.

On Tue, Sep 21, 2010 at 07:36:01PM +0200, [email protected] wrote:
> In CANopen this is requesting PDO over RTR request. One PDO may have
> several
> consumer, so several CAN nodes may send CAN message with same ID and
> data length
> (by the way, this may happen also with LSS messages).
> So, now we are sending RTR request for some PDO and want to make timeout
> monitoring
Is this legal on CAN?
> on it. But, if another node (just another PDO consumer) will send
> simultaneously 
> exactly the same CAN message, we may get "alien" message before our own
> is looped 
> back.
> 
> This is why it is important to have per-message self reception flag. Or
> the 
> possibility to "mark" the message on transmission and then look for this
> mark on 
> reception to identify looped back messages exactly.
For self-received messages, the originating socket (sk_buff->sk) is set.
I think it's only accessible in kernel. Using this would IMO avoid adding
code in difficult places, and limit such feature to adding code in easy places.
> 
Regards,
Kurt
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to