You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Petro Karashchenko <pe...@gmail.com> on 2023/08/31 21:44:05 UTC
Multiple frame producers with SocketCAN
Hi,
I have a question about is it possible to have multiple CAN frame producers
(threads) and one CAN frame reader using SocketCAN interface? With a
traditional CAN driver it is even possible to have multiple CAN frames
consumers, but still I do not need that.
I'm asking because I'm not sure if it is valid to open multiple CAN_RAW
sockets for the same interface. In general I'm interested in a case when 1
thread is reading CAN messages and 2 other threads are sending CAN messages
and if that is a valid case with SocketCAN.
Best regards,
Petro