Skip to main content
Visitor II
March 9, 2025
Question

gRPC on STM32

  • March 9, 2025
  • 2 replies
  • 1474 views

Is there any effort underway to develop a package to support gRPC on embedded systems or more specifically STM32 ?

    This topic has been closed for replies.

    2 replies

    Super User
    March 10, 2025

    You mean this: https://grpc.io/ ?

    "gRPC is a modern open source high performance Remote Procedure Call (RPC) framework that can run in any environment. It can efficiently connect services in and across data centers with pluggable support for load balancing, tracing, health checking and authentication. It is also applicable in last mile of distributed computing to connect devices, mobile applications and browsers to backend services."

     

    What would you see as the application in embedded systems or more specifically STM32 ?

     
     
    Visitor II
    March 10, 2025

    gRPC abstracts out the low level socket details and can be used for sending or receiving or streaming data to/from remote (or local) devices.  That is what I see as a potential application domain in embedded systems or more specifically STM32.  A higher level of abstraction and hopefully less time spend try to understand the nuances of a socket-like package.

    Super User
    March 14, 2025

    @Brian12412 There's no magic. If you want rich functionality you need a rich platform that has all the goodies ready (network interfaces, http or other transports, authentication..) The serialization and protobuf part is easy, it looks like it can be easily borrowed from the upstream.

    Networking with STM32 is er, tough. It may require a RTOS with https TLS library. Otherwise, this gRPS is a wonderful idea.