socketcan and perl module ?
Hello Rastislav,
i've been on your website 2-3 years ago - it has been really improved
I don't have any knowledge about perl. But there was an attempt to support SocketCAN network sockets in perl in 2010 (just google 'socketcan perl').
If this attempt does not help, you may be interested in kayak, which includes a 'socketcand' for remote CAN access via network (also on localhost):
http://kayak.2codeornot2code.org/tutorial.html
Btw. don't hesitate to ask these kind of questions on the mailing list:
"[email protected]" <[email protected]>
I've put the ML on CC.
Best regards,
Oliver
Quoted 37 lines · Rastislav Piater
Hello,
Socket can is really great project.
I created open source saab player based on socket-can. (http://saablin.net/)
Issue is that I developed it in perl, and for sending and receiving can messages, I am calling candump and cansend binary from perl which is not so good (effective).
What do you think to create perl module for candump and cansend ?
This will help me and maybe more peoples to develop applications with socket can.
I am not real developer, so I don't have knowledge to port candump and cansend to perl ... can bus it's just my hobby.
Thank you for your answer.
Rastislav
Hello Oliver,
thanks for fast answer.
Yes, you are right, there was an attempt to implement socketcan to perl:
http://www.nntp.perl.org/group/perl.modules/2010/08/msg72366.html
It was by my request to my fiend, I pushed him to create module for me :-)
Hi post it in 2010, but still not finished, I must push him again to finish it.
I also check your recommendation for socketcand, and it looks really good. For tcp/ip have existing module in perl, so it seems I can do it via socketcand.
So I will try socketcand way ... and I will see.
Thanks,
Rastislav
Quoted 5 lines · Oliver Hartkopp
Hello Rastislav,
i've been on your website 2-3 years ago - it has been really improved
I don't have any knowledge about perl. But there was an attempt to
support
Quoted 1 line
SocketCAN network sockets in perl in 2010 (just google 'socketcan
perl').
Quoted 9 lines
If this attempt does not help, you may be interested in kayak, which includes
a 'socketcand' for remote CAN access via network (also on localhost):http://kayak.2codeornot2code.org/tutorial.html
Btw. don't hesitate to ask these kind of questions on the mailing list:
Quoted 20 lines
"[email protected]" <[email protected]>
I've put the ML on CC.
Best regards,
OliverQuoted 11 lines · Rastislav Piater
Hello,
Socket can is really great project.
I created open source saab player based on socket-can.
(http://saablin.net/)Issue is that I developed it in perl, and for sending and receiving can messages, I am calling candump and cansend binary from perl which is
not
Quoted 29 lines
Quoted 29 lines
so
good (effective).What do you think to create perl module for candump and cansend ?
This will help me and maybe more peoples to develop applications with socket can.
I am not real developer, so I don't have knowledge to port candump and cansend to perl ... can bus it's just my hobby.
Thank you for your answer.
Rastislav
Hi
If anyone is interested i made a Socket::Can perl module, i only used it for dumping can/canopen and as a quick way to configure canopen nodes, my actual daemon i written using canfestival so it is not stress tested, and i only used it on debian.
Source can found at http://kb.xpress.dk/src/canbus
Regards
Kristian Borgen