commit | c4ea179e91c6aee6b9d41b9fe301269189970850 | [log] [tgz] |
---|---|---|
author | Asad Memon <asadmemon@google.com> | Thu Oct 10 17:55:37 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 10 17:55:37 2024 +0000 |
tree | 2f85fe194138e7d382ba9ea9bec2ff30ab6893d0 | |
parent | 9ff1095f2c990e5151bc77b94af3571c976e938a [diff] |
pw_web: Improvements to `device` RPC APIs Changes Device API signature to add a way to: 1) Create a request message for an RPC. 2) Call the API with that request message. This also changes the ServerStreaming API to return `ReadableStream` which can be consumed using `for...await` in JavaScript. Change-Id: I647fa7be80400f8efdaa0d495b1250546411ae5b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/238052 Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Asad Memon <asadmemon@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.