Hi Marc,

On 10/21/2010 07:53 PM, Marc Kleine-Budde wrote:
> This series of patches changes the can drivers RX path. If a RTR frame is
> received no data is copied.
> 
> As discussed on socketcan-core:
> https://lists.berlios.de/pipermail/socketcan-core/2010-October/004836.html

Acked-by: Wolfgang Grandegger <[email protected]>

to all patches. From the SJA1000 manual states:

  6.3.7.2        Remote Transmission Request (RTR)
  If this bit is set, a remote frame will be transmitted via the
  bus. This means that no data bytes are included within this
  frame. Nevertheless, it is necessary to specify the correct
  data length code which depends on the corresponding
  data frame with the same identifier coding.

Therefore dlc should be read from the received rtr message but obviously
it's normally not interpreted be the application. Otherwise user would
have complained earlier.

Thanks,

Wolfgang.
_______________________________________________
Socketcan-core mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-core

Reply via email to