Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erpc: support for different versions of the messages [QUESTION] #401

Open
jozefkralovic opened this issue Jan 25, 2024 · 3 comments
Open
Labels

Comments

@jozefkralovic
Copy link

Hi all,

Is there implemented ERPC support for message which have 2 different versions. Lets say original message version have 2 parameters. And there will new version of the message with 3 parameters. New parameter is not affecting functionality of the original 2 parameters.

Are 2 ERPC entities still able to communicate also in case when both entities support same type of the message but in different versions. Lets say message with 2 parameters is sent and receiver (2nd ERPC entity) is able to decode it and provide for other handling also these 2 parameters?

If not yet supported is it planned in any release plan?

Note: it would be helpful in case when there is not possibility to update firmware at both devices in the same time and new message parameter is not affecting original parameters in the same type of the message.

Thank you for help

Steps you didn't forgot to do

  • [ x ] I checked if there is no related issue opened/closed.
  • [ x ] I checked that there doesn't exist opened/closed PR which is solving this issue.
  • [ x ] I looked in documentation if there is related information.
Copy link

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

@Hadatko
Copy link
Member

Hadatko commented Jan 25, 2024

Hi i am not right now sure. But maybe it is possible when the third command is IN type.
Theoretically we can support that in the future (something similar to grpc maybe)

@jozefkralovic
Copy link
Author

Thank you for your response.

Is there used any known coding scheme (coding/decoding)? Something as Type–length–value coding scheme. Or any own algorithms?

Thank you for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants