python-uds icon indicating copy to clipboard operation
python-uds copied to clipboard

canTp recv "Timeout in waiting for message"

Open chrizgeo opened this issue 4 years ago • 0 comments

recv sometimes raises "Timeout in waiting for message" when multiple frames are sent from the server . There is no issues in receiving single frames. This timeout error occurs ### only around once in ten times. I am trying to get the response for report DTC by status mask.

chrizgeo avatar Aug 11 '21 13:08 chrizgeo

I am facing a similar issue with $0x31 to verify checksum. But in my case this issue occurs every single time. Please find the error below:

Traceback (most recent call last): File "C:/Users/rxb/PycharmProjects/pythonProject/EOL_Automation/certification_injection.py", line 206, in checksumVerify = TCM.send([0x31, 0x01, 0xFF, 0x01, 0x01, 0x85, 0x90]) File "C:\Users\rxb\PycharmProjects\venv\lib\site-packages\uds\uds_communications\Uds\Uds.py", line 165, in send a = self.tp.send(msg, functionalReq) File "C:\Users\rxb\PycharmProjects\venv\lib\site-packages\uds\uds_communications\TransportProtocols\Can\CanTp.py", line 230, in send raise Exception("Timeout waiting for message") Exception: Timeout waiting for message

Please let me know how to resolve this issue.

prajwal-bs-urs avatar Aug 18 '22 13:08 prajwal-bs-urs