This is a part of [rosserial](https://github.com/ros-drivers/rosserial) repository to communicate with ROS system through a USART for STM32 embedded system.
I am using a STM32f303vct6 board and STM32CubeIDE to code, when I run a single publisher or subscriber then evrything works fine however if I try to both publish and subscribe to different topics then the program comes to at a hault after a minute or so and then it neither subscribes nor publishes until I manually restart the board.
I am using a STM32f303vct6 board and STM32CubeIDE to code, when I run a single publisher or subscriber then evrything works fine however if I try to both publish and subscribe to different topics then the program comes to at a hault after a minute or so and then it neither subscribes nor publishes until I manually restart the board.