Open t-moe opened 5 months ago
Just noting that I am open to PRs here, feel free to @ me if anyone has any questions, or would like to pick up the work.
Also noting that by adding a "target client" library, this would unlock MCU-to-MCU comms. I continue to be very interested in adding this, but haven't needed it, so haven't taken time to design it.
I'm very open to PRs or sponsorship if folks are interested in making this happen :)
Note that the changes between v0.7 and v0.10 makes it possible to have a host_server (there is a test_channels
implementation that runs on the host for testing, using a tokio channel as the "wire").
I don't have a target_client
implementation yet, but I am open to implementations of this still.
I would be nice to have "host_server" and "target_client" libraries of postcard-rpc. So the MCU would be the one initiating the request to the PC and the PC would answer the rpc calls. Everything else would be the same.
I asked @jamesmunns via Matrix regarding this, here are his responses:
I also asked about whether there are some big roadblocks in the way, and James responded with:
I'm currently a bit on a tight schedule with my current client, so I opted for implementing my own very simple rpc logic on top of postcard for now, as this was just quicker to do. But I'll probably revisit this postcard-rpc as soon as our rpc interface grows larger...