Im currently communicating with a motor controller VIA the USB port of the Raspi.
For the communication I am using the CAA library.
From time to time it happens, that a com port is opened multiple times without beeing closed and that causes an error (5802 - unfortunately i never found a real documentation for the error code).
My question is if it is somehow possible to reset or reinitiate the com connection using any command so that I can open and work with the port again without disconnecting the USB plug.
Thanks for any help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
Im currently communicating with a motor controller VIA the USB port of the Raspi.
For the communication I am using the CAA library.
From time to time it happens, that a com port is opened multiple times without beeing closed and that causes an error (5802 - unfortunately i never found a real documentation for the error code).
My question is if it is somehow possible to reset or reinitiate the com connection using any command so that I can open and work with the port again without disconnecting the USB plug.
Thanks for any help.