linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: socketcan and perl module ?
       [not found] <eb163bb46a69fe58c0d3f9676172ed9a@localhost>
@ 2012-12-11 16:46 ` Oliver Hartkopp
  2012-12-12 12:13   ` Rastislav Piater
  2013-01-12 15:03   ` Kristian Borgen
  0 siblings, 2 replies; 3+ messages in thread
From: Oliver Hartkopp @ 2012-12-11 16:46 UTC (permalink / raw)
  To: Rastislav Piater; +Cc: linux-can@vger.kernel.org

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:

"linux-can@vger.kernel.org" <linux-can@vger.kernel.org>

I've put the ML on CC.

Best regards,
Oliver

On 11.12.2012 16:32, Rastislav Piater wrote:

> 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
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: socketcan and perl module ?
  2012-12-11 16:46 ` socketcan and perl module ? Oliver Hartkopp
@ 2012-12-12 12:13   ` Rastislav Piater
  2013-01-12 15:03   ` Kristian Borgen
  1 sibling, 0 replies; 3+ messages in thread
From: Rastislav Piater @ 2012-12-12 12:13 UTC (permalink / raw)
  To: Oliver Hartkopp; +Cc: linux-can

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  





On Tue, 11 Dec 2012 17:46:25 +0100, Oliver Hartkopp
<socketcan@hartkopp.net> wrote:
> 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:
> 
> "linux-can@vger.kernel.org" <linux-can@vger.kernel.org>
> 
> I've put the ML on CC.
> 
> Best regards,
> Oliver
> 
> On 11.12.2012 16:32, Rastislav Piater wrote:
> 
>> 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
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>>  
>> 
>>  
>>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: socketcan and perl module ?
  2012-12-11 16:46 ` socketcan and perl module ? Oliver Hartkopp
  2012-12-12 12:13   ` Rastislav Piater
@ 2013-01-12 15:03   ` Kristian Borgen
  1 sibling, 0 replies; 3+ messages in thread
From: Kristian Borgen @ 2013-01-12 15:03 UTC (permalink / raw)
  To: linux-can

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-12 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <eb163bb46a69fe58c0d3f9676172ed9a@localhost>
2012-12-11 16:46 ` socketcan and perl module ? Oliver Hartkopp
2012-12-12 12:13   ` Rastislav Piater
2013-01-12 15:03   ` Kristian Borgen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).