question

rkapsi avatar image
rkapsi asked

Cerbo GX and changing the CAN bitrate upon startup

I have Cerbo GX here (both variants actually, but only Mk2 is relevant) on which I'd like to use the "VE.Can & CAN-bus BMS (250 kbit/s)" profile but change the bitrate from 250 kbit/s to 500 kbit/s upon startup. It seems the preferred way of doing it using the can-set-rate script and it's working fine when do it manually over SSH but for the life of me I can't figure out why rc.localisn't working. I believe it's a race condition between rc and Venus where the latter ends up overriding my attempt but I'm not sure. Any ideas or suggestions how to do it in a timely and orderly manner upon startup?

cerbo gxVenus OSBMSVE.Can
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers