-
Notifications
You must be signed in to change notification settings - Fork 70
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
DoIP UDS Send wrong Diagnostic Session Control type #2
Comments
@ryanbaw please check whether you choose suppress. if the suppress is choosed, the highest bit7 will be 1 of subfunction. |
@ryanbaw by the way, can you install the app correctly? |
yes, I choosed the suppress. the ECUBus send 0x1001 when i canceled suppress. Thanks but there are problems still, could you help me? UDS server response the uds server respone NACK code: Unknown target address (0x03), anything wrong with my uds server? this is my uds server doip |
the install error still exists. but does not affect use |
Maybe you can check the TA logic in here/ https://github.com/frankie-zeng/ECUBus/blob/master/src/uds/ipuds.js |
@ryanbaw Hi, I have setuped the doip server you used, If you doesn't change the server code, the server will show: NACK 03. |
Great! It works. Thank you. |
the wireshark dump as below:
ECUBus send Request Diagnostic Session Control(0x10):
0000 00 e0 4c 68 01 d4 c8 e7 d8 ce bb dd 08 00 45 00
0010 00 36 0f d8 40 00 40 06 44 de c0 a8 32 b5 c0 a8
0020 32 06 b1 34 34 58 1b e4 3d a4 e8 76 5c ff 50 18
0030 40 23 61 71 00 00 02 fd 80 01 00 00 00 06 00 0d
0040 10 00 10 81
ECU response:
0000 c8 e7 d8 ce bb dd 00 e0 4c 68 01 d4 08 00 45 00
0010 00 35 b7 3b 40 00 40 06 9d 7b c0 a8 32 06 c0 a8
0020 32 b5 34 58 b1 34 e8 76 5c ff 1b e4 3d b2 50 18
0030 03 ec ab 1b 00 00 02 fd 80 03 00 00 00 05 10 00
0040 00 0d 03
I use the ECUBus send Diagnostic Session Control(0x10) defaultSession(0x01), data should be 0x1001,but wireshark dump is 0x1081
The text was updated successfully, but these errors were encountered: