how to handle a timeout issue with retries #242
Replies: 11 comments
-
|
sorry, I forgot that self.ap is defined at init as self.ap = ArgumentParser(description=source) |
Beta Was this translation helpful? Give feedback.
-
|
Sorry Cristoph to bother you. Do you have any suggestion? |
Beta Was this translation helpful? Give feedback.
-
|
@MCO-SOCOMEC |
Beta Was this translation helpful? Give feedback.
-
|
Hello Chrisoph, no I didn't try the parameter. I will try and come back to you. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hello Christoph, |
Beta Was this translation helpful? Give feedback.
-
|
@MCO-SOCOMEC |
Beta Was this translation helpful? Give feedback.
-
|
Hello Christoph, Sometimes I catch an error but it's able to restart the communication. [PyXCP] ERROR | Error open connection: timed out |
Beta Was this translation helpful? Give feedback.
-
|
Hi Christoph, |
Beta Was this translation helpful? Give feedback.
-
|
@MCO-SOCOMEC |
Beta Was this translation helpful? Give feedback.
-
|
Hi Christoph, |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using pyxcp to communicate with an embedded target via TCP. Everything works fine after a point my target decides to reply in delay and I get a timeout (socket.timeout: timed out).
I would like to put in place a retry mechanism. I took my functio
def read_characteristic(self,
characteristic2read=string) -> int:
"""
It reads a characteristic based on the address found in the a2l file
and I modified it in this way but it doens't work.
def read_characteristic(self,
characteristic2read=string) -> int:
"""
It reads a characteristic based on the address found in the a2l file
Any suggestion?
Thanks
Michele
Beta Was this translation helpful? Give feedback.
All reactions