Hello Miller,
I'm on a project where I need to support simultaneous 11-bit and J1939 messaging. I've hacked this package a bit to make it work (it doesn't really take much) and thought I could make a contribution to provide that support.
The changes include:
- building J1939 filters on any specified
can_filters,
- dispatching incoming non-PDU messages to a method that still ignores them but can be sub-classed for addition to the queue,
- dispatching outgoing non-PDU messages directly to
self.can_bus.send
Another change I made was to put the construction of RawCanBus into a method so a sub-class can swap in a dummy bus for tests.
Dave
Hello Miller,
I'm on a project where I need to support simultaneous 11-bit and J1939 messaging. I've hacked this package a bit to make it work (it doesn't really take much) and thought I could make a contribution to provide that support.
The changes include:
can_filters,self.can_bus.sendAnother change I made was to put the construction of
RawCanBusinto a method so a sub-class can swap in a dummy bus for tests.Dave