Skip to content

karlding/testj1939-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

testj1939-python

A reimplementation of testj1939 using Python APIs

This is mostly intended to:

  1. illustrate how to use the J1939 socket APIs
  2. serve as a series of integration tests of the J1939 functionality

Goals

These are various examples taken from the J1939 kickstart guide

  • receive without source address
  • receive with source address
  • send
  • Multiple source addresses on 1 CAN device
  • Use PDU1 PGN
  • Use destination address info
  • Emit different PGNs using the same socket
  • Larger packets

Advanced topics with j1939

  • Change priority of J1939 packets

Known issues

  • Integration tests are flakey (likely due to needing to synchronize between background processes)
  • The -s argument doesn't work the same way as testj1939
  • Add pyproject.toml
  • Create wheels
  • Package as a CLI script

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published