TSU-3883 Packet not send with 20 bytes
General communication with at40x :
- When we receive a socket error in a send or receive, we'll try to reconnect the socket
Specific to async commands :
- The timeout timer started with every async command is now stored in the list of pending commands with the command
- When we receive a message of successful execution, when we remove the command from the command list, we also stop the timer
- Added a message when we receive a second time the command before the answer to the previous (to see if it may be the cause if we have a similar problem in the future)
- In the timeout message, we now calculate the number of seconds in decimal form (ie 500 ms is now 0.5s instead of 0s)
Specific to async MoveHV commands :
- Added en event for successful move, which stops the MoveHV timer
- Set the timeout for MoveHV to 1s
Edited by Pascal Weiss