Hello Benjamin, I worked on having USB support withing grpc several months ago. THere is a work in progress on my personnal fork (branch grpc-usb-1.35.0: https://github.com/fmartinsons/grpc/tree/grpc-usb-1.35.0) . I guess USB serial would be pretty close to that but unfortunately this is still a work in progress that is not fully functional and I have not plan to work on this in a close future.
I hope this example can help. For information, you can find in this thread ( https://groups.google.com/g/grpc-io/c/ZS7yqRRfviY) a status on having USB (or USB serial I guess) upstreamed in gRPC project On Tue, 3 Aug 2021 at 16:09, Benjamin Szőke <[email protected]> wrote: > Hi! > > Can gRPC use serial port communication? > > I would like to use gRPC between an embbedded Linux board (like Raps Pi) > and Windows 10 PC over USB gadget serial port. I know there is an easy > solution to use USB gadget ethernet instead of it but i have really pure > old solution which is a simple "home-made" JSON procedura call between C# > (Win 10 PC) and Python (Linux board) over serial com port. My plan is to > replace it with gRPC because there is no point in further development in my > JSON protocol because gRPC is better and more complete. > > Luckily on USB gadget serial the data speed is about 10 MB/s so it could > be absolutely enough to do any gRPC processes over it. > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/d0062725-17ac-407d-acab-577279f0f474n%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/d0062725-17ac-407d-acab-577279f0f474n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CA%2BcAkervCg%3DH2zQuUBWATJSj0oDiKBgFEN7esm7T79mBhKjvSw%40mail.gmail.com.
