Skip to content

Conversation

@yannpoupon
Copy link
Contributor

Issue happens when you use the function send_uds_raw from UdsAuxiliary of kiso-testing with the following code :

req = [0x27, 0x42] + 64 * [0xFF] 
uds_aux.send_uds_raw(req) 

And the messages send were :

 10 40 27 42 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
 21 FF FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Instead of sending a message of 8 bytes for the last 4 bytes of data it send a message 64 bytes long

),
64,
)
- 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 1 for one PCI byte ? In a first frame PCI could be 2 bytes long..
    Please check, not deep enough in those topic.
    Also the lack of unittests scares me

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added unittest

@sebclrsn sebclrsn merged commit 25a088d into eclipse-kiso-testing:master Dec 5, 2022
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

Successfully merging this pull request may close these issues.

3 participants