My CBT windows application, C# dll and firmware
  • 0
  • Hi, I've published the source code of my windows application which logs CBT packets through serial port.
    You can find it here: https://github.com/eiannone/CANBus-Triple-Logger
    It's written in C# using WPF.
    You can download windows binaries directly here: https://github.com/eiannone/CANBus-Triple-Logger/releases/download/1.0/CanLogger.zip

    Note that for filtering can messages using mask, you need my specific firmware version, wchich you can find here: https://github.com/eiannone/CANBus-Triple/tree/can-mask

    I've set up a separate project for the core .dll (<a href="https://github.com/eiannone/CANBus-Triple-Dll">CANBus-Triple-Dll</a>), which you can reuse in other projects.
    It contains a CBTController class, which you can instantiate passing serial port name, and then call methods, for example:

    var cbt = new CBTController("COM1");
    var info = await cbt.GetSystemInfo();
    Console.Writeln("Device: " + info["name"]);

  • 0
  • Awesome, always good to see some sample C# to start with!

  • 0
  • administrators

    Awesome! I'm going to check this out tonight!

  • 3
    Posts
  • 757
    Views
  • Log in to reply