I pushed an update to the github repo with improved baud rate setup and auto rate detection! I still need to update the docs.
<b>New baud rate config code</b>
It allows you to use any baud rate on the can bus. If you tell it to use 381 that's what it will try to do. Before it had fixed settings you could run 10,20,50,125,250,500,1000.
Serial api command: 0x0109NNXXXX (NN is bus id, XXXX 16bit integer representing speed, up to 1000)
Example: Set bus 1 to 500kbps.
Decimal 500 = Hex 0x1F4
So send: 0x01090101F4
Also, changes are written to eeprom so they are persisted through a reboot or power loss.
Also, if your CBT is connected to a CAN bus you can send a command to auto detect baud rate.
Serial api command: 0x0108X (X being the bus, 01 - 03)
So to find the baud of bus 1 send 0x010801 and the CBT will send back JSON data as it tries each speed (speeds are hard coded at the moment)
If a speed is detected it's written to the eeprom settings and persisted through a reboot or power loss.
Make sure you update to the new code (0.4.2) to use this functionality. <a href="https://github.com/CANBus-Triple/CANBus-Triple">https://github.com/CANBus-Triple/CANBus-Triple</a>
I'm working on the mobile / desktop app still which will make logging easier.