driftregion / iso14229

ISO 14229 (UDS) server and client for embedded systems
MIT License
213 stars 73 forks source link

"Response Pending" (NRC 0x78) #33

Closed guru0808 closed 2 months ago

guru0808 commented 2 months ago

Hi, I wish to implement UDS using this repo. It seems fine work to me. However i wish to use "Response Pending" (NRC 0x78) and would like to know if you have implemented delayed response sending.

driftregion commented 2 months ago

Yes, here are the tests for NRC 0x78: https://github.com/driftregion/iso14229/blob/main/test/test_client_0x31_RCRRP.c https://github.com/driftregion/iso14229/blob/main/test/test_server_0x31_RCRRP.c

guru0808 commented 2 months ago

Thanks. You have defined #define UDS_SYS_WINDOWS 2. But using UDS_SYS_WIN32 in comparison `

if UDS_SYS == UDS_SYS_WIN32

include

typedef SSIZE_T ssize_t;

endif

`

driftregion commented 2 months ago

Thanks for this feedback. This issue has been fixed on the windows branch https://github.com/driftregion/iso14229/pull/35

Please open a separate issue as this is not related to NRC 0x78, thanks!