Update:
After sending an arbitrary message to the bus from the RevPi Con Can It seems to mess up the data on the bus(?)
-> Data printed from
Uno listening on the bus with messages sent only by
Nano
https://gyazo.com/203b872e054f8c6c389ed30fc05c9887
-> Data printed from
Uno listening on the bus after a single arbitrary message sent from
ConCan
https://gyazo.com/89e654b2a25885ab8cf3056b49f89414
I'm not able to receive any messages on the
ConCan while messages are only being sent by the
Nano to the bus using
candump can0.
Also, no matter what new data i send from the
ConCan the messages received on the
Uno doesn't change.
*EDIT
After sending multiple messages from the RevPi i eventually get an error while trying to run the py code once more.
Code: Select all
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/can/interfaces/socketcan/socketcan.py", line 568, in _send_once
sent = self.socket.send(data)
OSError: [Errno 105] No buffer space available
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/AR4/test.py", line 12, in <module>
bus.send(msg)
File "/usr/lib/python3/dist-packages/can/interfaces/socketcan/socketcan.py", line 547, in send
sent = self._send_once(data, msg.channel)
File "/usr/lib/python3/dist-packages/can/interfaces/socketcan/socketcan.py", line 570, in _send_once
raise can.CanError("Failed to transmit: %s" % exc)
can.CanError: Failed to transmit: [Errno 105] No buffer space available