erpc icon indicating copy to clipboard operation
erpc copied to clipboard

Feature request: reliable framed transport

Open chenlijun99 opened this issue 4 years ago • 4 comments

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.

chenlijun99 avatar Oct 23 '21 21:10 chenlijun99

Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well.

github-actions[bot] avatar Oct 23 '21 21:10 github-actions[bot]

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.

MichalPrincNXP avatar Nov 05 '21 08:11 MichalPrincNXP

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".

chenlijun99 avatar Nov 05 '21 08:11 chenlijun99

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.

chenlijun99 avatar Jul 12 '22 17:07 chenlijun99