Skip to content
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

Priority is always 7 for multi-packets #4

Open
bigoulours opened this issue Sep 4, 2020 · 1 comment
Open

Priority is always 7 for multi-packets #4

bigoulours opened this issue Sep 4, 2020 · 1 comment

Comments

@bigoulours
Copy link

Hello I tried using this custom device to send messages with Data length > 8Bytes (raw mode).
The payload is send according to the j1939 spec (multi-packets) but the priority seems to always be equal to 7 (first byte of identifier = 0x1C).
Is it a bug or can I somehow change it?

@ghost
Copy link

ghost commented Oct 14, 2021

Hi @bigoulours
J1939 specification says "Default priority: 7 (Priority used regardless of the PGN being transported)".
NI-XNET hard coded this implementation at the driver level. You can reach out to NI Technical Support to request for special patch to use the priority from PGN of frame instead. However, you cannot switch between default priority and frame priority at runtime.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant