-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subscribers are not notified for certain PGNs #57
Comments
Here is a way to use subclassing in order to receive notifications of (a selection of) the missing PGNs without changing any It's a bit icky, but it might be useful to someone, depending on what practical situation they might be in. Two of the j1939 classes are subclassed in this workaround,
Here is a customized
The below change is circumventing the way that the
In the |
Addendum to my last note about the non-address-claim If using the ECU without a CA (the technique mentioned on this line), it seems that the |
In the sample code in README.rst, we see a statement here that says
But it turns out that this is not true. Certain PGNs will be diverted elsewhere and not make it as far as the subscribers, as can be seen here. The following items will not get to the subscribers:
ParameterGroupNumber.PGN.ADDRESSCLAIM
ParameterGroupNumber.PGN.REQUEST
ParameterGroupNumber.PGN.TP_CM
ParameterGroupNumber.PGN.DATATRANSFER
If we want it to be a true statement that all passing message will be received by subscribers, then I think that we must remove the
else:
on line 521 of j1939_21.py and unindent the following lines.The text was updated successfully, but these errors were encountered: