-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
update all VT client messages to priority 5 done #379
Conversation
I don't know why it's failing... |
It's failing because the unit tests for the VT client are comparing the whole CAN ID of the expected message to the actual message that gets sent. Here you can see that it's checking to see that the ID of this message begins with 0x1C, which is priority 7, but now we're sending it with a leading 0x14, which is priority 5. So, in order to get it to pass, you'd need to update the file |
You can check the output here to see the exact lines you'll have to modify: 919, 936, 952, 968, 979, and 992. |
Thanks |
hopefully added your wanted changes put supported_vt_version into the function error fix and changes additional error fixes
Sorry, I'll do this when I come back from school. |
8e29e64
to
186eb84
Compare
Please check if this is what you wanted. |
Good job! It'a almost there I think, only thing still left would be the line: Here again priority is not used anymore, so the Also I saw you managed to squash your commits, nice! |
Hey, I don't know why you would want to remove this, because we want the priority to still exist but it just to be set to 5? Anyways, I did this and the it->first and it->second statements stopped working. I tried to fix this but its most likely wrong. Check it out. Thanks! |
Yeah, so basically the However, that doesn't mean that messages (something different than the VT commands) can't have other priorities, it's just that the I hope this explanation makes sense to you hahah. I'm not sure about your knowledge of the CAN/J1939/ISO11783 protocols in general, but I understand it could be a bit hard to gasp otherwise. |
removed priority parameter for send_command function error fixes error fix v2 revert additional error fixes additional additional error fixes code cleanup erors fixed changes changes requested done error fix fixed changes it pointer fixes
Thanks again for taking the time to contribute to the project. Don't take the feedback personally, I like to keep the project up to a high standard haha. Your efforts are greatly appreciated! |
updates all VT client messages to priority 5 as stated in #378