Chris BHR - Are there instructions somewhere on...
Are there instructions somewhere on how to set up a Canable 2.0 with signalk?
8 Replies
Install the candleLight firmware https://canable.io/getting-started.html#alt-firmware
Then you’ll have a “canbus” device at can0
Does is matter if i choose 'Canbus (canboatjs)' or 'Canbus(canboat)'
Use canboatjs
With canboatjs i get 'Reconnecting' and with canboat i get 'Network is down'. If i use the canable 2.0 on my PC with cangaroo (and candlelight firmware) i do see data so the network should be good
Make sure you do :
Just noticed they say to use bitrate 500000
ANd be sure to check the server log for errors
Thats working now thanks (i used bitrate 250000 in cangaroo which worked so i'm sticking with that though)
Yes, 250000 is correct
(The canable instructions say 500000)
And add that to /etc/rc.local
It needs to be run every time the machine boots up
On my Pi 5 I created this file to configure the device whenever it's plugged in and on reboot: /etc/udev/rules.d/90-canable.rules
File contains (your ATTRS may vary):
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="606f", ACTION == "add", RUN+="/sbin/ip link set can0 down", RUN+="/sbin/ip link set can0 up type can bitrate 250000 loopback off listen-only off"