erpc
erpc copied to clipboard
Feature request: reliable framed transport
Currently with transports such as the serial transport, we can't be sure whether a message has been correctly received or not. In fact, the other side might even not be listening. OTOH sometimes the serial transport is the only choice, when tiny MCUs are involved. It would be cool to have a reliable connection-based framed transport.
Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well.
Hi @chenlijun99 , serial transport allows framed transport, hope you are aware of this. As for the "reliable connection-based framed transport" it is up to the application now to ensure the server is running before an erpc request is issued on the client side ... but yes we could think of implementing this connection-establishing mechanism into the erpc lib. Thank you.
Hi @MichalPrincNXP ! Thank you for your reply. I'm aware that serial transport is a framed transport (in fact it inherits from FramedTransport). What I meant with "reliable framed transport" was to add connection establishment and other things like ARQ upon the current "framed transport".
Shameless plug. For anybody working with Espressif MCUs and that is interested in this, in https://github.com/Kerr-srl/erpc-esp I have implemented a reliable transport based on Tinyproto.