You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A SDO timeout message appears on the bus even though the SDO request has completed successfully.
To Reproduce
Start a SDO Upload request (SDO state is busy) with a timeout of 1000ms.
SDO request finishes (SDO state is idle).
Start a new SDO Upload request (SDO state is busy again).
Because the timer of the first request is not deleted it runs out and calls the callback function.
The callback function checks if the SDO state is busy (which it is because of the second request which is still in progress).
The callback function thus sends a timeout message.
Expected behavior
The callback function shall not send a timeout message.
CANopen Stack (please complete the following information):
Device: [Virtual Machine]
OS: [Linux Debian x64]
Version [12 (Bookworm)]
This bug happens consistently because my AppClock timer matches the period of the SDO timeout and I start a new SDO request each AppClock update.
The text was updated successfully, but these errors were encountered:
Describe the bug
A SDO timeout message appears on the bus even though the SDO request has completed successfully.
To Reproduce
Start a SDO Upload request (SDO state is busy) with a timeout of 1000ms.
SDO request finishes (SDO state is idle).
Start a new SDO Upload request (SDO state is busy again).
Because the timer of the first request is not deleted it runs out and calls the callback function.
The callback function checks if the SDO state is busy (which it is because of the second request which is still in progress).
The callback function thus sends a timeout message.
Expected behavior
The callback function shall not send a timeout message.
CANopen Stack (please complete the following information):
This bug happens consistently because my AppClock timer matches the period of the SDO timeout and I start a new SDO request each AppClock update.
The text was updated successfully, but these errors were encountered: