yeni8588
Posts: 1
Joined: Tue Apr 20, 2021 11:22 pm

Socket Can Java interface and Can bus

Tue Apr 20, 2021 11:34 pm

Hi! I am using a rasperry pi 4 to communicate to the can bus of a controller.
I am using a USB-CAN adapter, I was able to use it and configure it in the rasperry and with the candump slcan0 command I receive information correctly.
Now I want to be able to use that information received in a java application to simulate a car dashboard.
I was able to adapt some programs to communicate with the USB-CAN through the RxTx-java library, but it does not recognize the usb, however on my desktop it does. :?
I want to know, if anyone has any idea already tested, how I can communicate in java with the can without using rxtx, since it is a fairly old library.
in advance, thank you!

Return to “Java”