Questions tagged [socketcan]

SocketCAN is a Linux socket based implementation for Controller Area Network (CAN) protocol.

155 questions
0
votes
0 answers

CAN bus and SPI communication in Raspberry Pi

I am developing a prototype for adaptive cruise control using two raspberry pi's. I have tested SPI on pi and it works (checked it through loopback). Now i want to write this data to the cotroller. So, after referring to resources i found Socketcan…
0
votes
1 answer

Retrieve hexadecimal argv[] in tab from struct can_frame

I'm working on socket CAN and I implement the following code : int main(int argc, char **argv) { char *sendSoc = NULL; char *receiveSoc = NULL; char specifiedType; struct can_frame sendFrame; struct can_frame receiveFrame; int sendSocket=-1,…
ogs
  • 1,139
  • 8
  • 19
  • 42
0
votes
1 answer

SocketCAN c++ wrapper

We want to use SocketCan in a Linux application programmed in C++. Does anyone know a nice C++ wrapper for SocketCan? Otherwise I will write something.
Tik0
  • 2,499
  • 4
  • 35
  • 50
-1
votes
1 answer

How to block a particular id from a socketCAN virtual network?

I have a virtual socketCAN network. How do I block a particular ID from being sent on the network?
Verma
  • 13
  • 1
  • 1
  • 3
-2
votes
1 answer

Socket-CAN does not work when using linux socket-communication(via wifi)

this is Server-side code (raspberry pi) #include #include #include #include #include #include #include #include #include #include…
whoami
  • 1
1 2 3
10
11