最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How can I receive data from SocketCAN in a xinetd fashion on Raspberry Pi? - Stack Overflow

programmeradmin2浏览0评论

Im trying to get going with SocketCAN.

However, I want to have a extremely stable and functioning CAN backbone, and have something proven, that upon receiving a frame on "can0", will launch my script with that frame on the command line arguments or STDIN, and then my script can process that frame. (including, for example sending out packets on CAN interface or similiar).

Basically how Xinetd works.

However, trying to use Xinetd with SocketCAN seems not to be possible as Xinetd is IP-based and CAN doesn't use IP.

So how can I process packets fron can0 in a xinetd fashion?

发布评论

评论列表(0)

  1. 暂无评论