erpc icon indicating copy to clipboard operation
erpc copied to clipboard

Multiple clients

Open massimobadanai opened this issue 4 years ago • 4 comments

Hi all, is it possibile to create two clients ( on the same application) with two different transports? I would like to have a client over USB Bulk and another client over USB CDC...but i don't know if there is a way to do this.... Best Regards, Massimo

massimobadanai avatar Feb 15 '21 12:02 massimobadanai

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

github-actions[bot] avatar Feb 15 '21 12:02 github-actions[bot]

I believe two clients and two transports should work. One client and two different transports, is however not possible. See

https://github.com/EmbeddedRPC/erpc/issues/152

infn-ke avatar Feb 17 '21 07:02 infn-ke

what about g_client?

mazent avatar Feb 17 '21 08:02 mazent

You want to do two clients in one Linux process or in one RTOS? I believe that won't work due to no context in client interface, same issue as in #152.

infn-ke avatar Feb 17 '21 08:02 infn-ke