You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by John Lussmyer <Co...@CasaDelGato.Com> on 2024/01/01 23:22:12 UTC
SocketCan J1939 support?
I'm trying to figure out if PLX4X SocketCan support will work with the
J1939 variation.
i.e. create a socket like this:
s=socket(PF_CAN,SOCK_DGRAM,CAN_J1939);
If so, anyone have some example code of using the socketcan support?
Re: SocketCan J1939 support?
Posted by John Lussmyer <Co...@CasaDelGato.Com>.
I hadn't realized that PLC4X used JavaCan. I've just been trying to
find SOMETHING that supports CanBus J1939.
If we can get it working with JavaCan, that's likely all I'll need.
On 1/2/2024 1:31 AM, Łukasz Dywicki wrote:
> Hello John,
> I think its within the reach, it does depend however on JavaCAN
> library: https://github.com/pschichtel/JavaCAN.
> I saw you issued already a query on JavaCAN repository. Once we have a
> data stream available the application layer can be implemented.
>
> Best,
> Łukasz
>
> On 2.01.2024 00:22, John Lussmyer wrote:
>> I'm trying to figure out if PLX4X SocketCan support will work with
>> the J1939 variation.
>>
>> i.e. create a socket like this:
>>
>> s=socket(PF_CAN,SOCK_DGRAM,CAN_J1939);
>>
>> If so, anyone have some example code of using the socketcan support?
>>
>
Re: SocketCan J1939 support?
Posted by Łukasz Dywicki <lu...@code-house.org>.
Hello John,
I think its within the reach, it does depend however on JavaCAN library:
https://github.com/pschichtel/JavaCAN.
I saw you issued already a query on JavaCAN repository. Once we have a
data stream available the application layer can be implemented.
Best,
Łukasz
On 2.01.2024 00:22, John Lussmyer wrote:
> I'm trying to figure out if PLX4X SocketCan support will work with the
> J1939 variation.
>
> i.e. create a socket like this:
>
> s=socket(PF_CAN,SOCK_DGRAM,CAN_J1939);
>
> If so, anyone have some example code of using the socketcan support?
>