KeepAliveChecker is a platform independent, very easy to port and non-blocking structure that you can use in your master-slave over serial applications.
Please read this blog post first(in turkish) -> https://engineeringvolkan.wordpress.com/2020/04/14/oop-composition-nedir/