J1939 CAN Heavy duty Vehicle

From Communauté de la Fabrique des Mobilités

J1939 CAN Heavy duty Vehicle

💼 porté par


Framework to work with J1939 protocol.

J1939 protocol is a standard used in different systems compliant with CAN 2.0B specification.

The framework has been developed in C++ in a Linux distribution and compiled using the GNU toolchain. No dependencies are required for the compilation of any of the projects except from SocketCan compiled in the Linux Kernel.

What can you do with J1939-Framework

  • Save can frames from the Can Bus into recordings in TRC format with BinUtils/TRCDumper.
  • Play can frames from recordings in TRC format into the Can Bus with BinUtils/TRCPlayer.
  • Convert TRC files into pcap files readable by wireshark with BinUtils/TRCToCap.
  • Dissect pcap files with wireshark and the J1939 plugin dissector (wireshark/dissector).
  • Sniff frames from the Can Bus compliant with J1939 protocol with BinUtils/j1939Sniffer.
  • Decode raw J1939 data to human readable data with BinUtils/j1939Decoder.
  • Craft your own J1939 frames and send them to the Can Bus with BinUtils/j1939Sender. The functionality can be extended with the help of bash scripts located in Scripts (some examples are listed).
  • Visualize what is going on in the Can Bus with GUI_WEB. You will be able to craft, send and visualize the frames that are flowing in the Bus as well as visualizing graphics of their content (SPNs).
  • Discover J1939 devices with BinUtils/j1939AddressMapper.
  • Simulation of the Address Claim Process with BinUtils/j1939AddrClaim.

Organizations using or interested in using the resource: Renault Software Lab, Renault Trucks


Tags: J1939, CAN, OBD, camion, truck

Categories: Logiciel, Données, Connaissance

Theme: Voiture Connectée, Données ouvertes, Logistique urbaine, Logiciel Libre


Challenge: Abaisser les barrières pour innover sur le véhicule, Augmenter les connaissances partagées en cartographie et usages des véhicules et réseaux de transports

Key people to solicit:

Other related common: Busmaster CAN, CANanalyze, Emulateur OBD, CANtact

Wealth sought:

Required skills:

Community of interest: Communauté Voiture Connectée, Communauté autour des données ouvertes

License: MIT

Terms of Service (TOS):

Level of development:

Link to my actions board:

Link to my cloud, wiki, drive…:


Next step:

Documentation of the experimentations:

Other informations

List of the actors using or willing of using this common: aucun pour le moment

List of the workshop reports related to this common: