Canbus support with Legato


I have a customer using two CAN bus standards; J1939 for collecting the data and KVP2000 for the control. Can bus is working at 500kbps with 50% of load and customer is asking us if we can support this CAN specifications with Legato.

Now he is testing CAN bus with the IoT card from Talon using a MangOH red.

If we support that CAN bus with Legato then we need a working sample, because the one we provide in the Legaro has plenty of error when compiling . It´s this one “killSwitch” for MangOHred.


Hi Larumbe,

Please follow these steps as below link for CAN bus with legato:

The example of Legato CAN APIs (based on CANopen) on mangOH github:

How To Run

  1. Build the killSwitch app by running make in the KillSwitch directory.
  2. Run instapp killSwitch.wp85.update to install the app.
  3. On the mangOH, run /legato/systems/current/apps/killSwitch/read-only/bin/ .
  4. On the mangOH, run app start killSwitch
1 Like