golioth / golioth-zephyr-sdk

Golioth SDK For Zephyr
https://www.golioth.io
Apache License 2.0
65 stars 20 forks source link

net: golioth: Kconfig for max CBOR RPC response #381

Closed szczys closed 1 year ago

szczys commented 1 year ago

Introduce GOLIOTH_RPC_MAX_RESPONSE_LEN which allows applications to change the max size of the CBOR response returned from an RPC method. This solves the issue of receiving an error when the RPC response is too large: golioth: QCBOREncode_FinishGetSize error: 1 (QCBOR_ERR_BUFFER_TOO_SMALL)

github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 068b5e9):

https://golioth-zephyr-sdk-doxygen-dev--pr381-szczys-rpc-max-r-1zqsgjmk.web.app

(expires Thu, 25 May 2023 20:15:31 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a389eefadf4b4b68a539327b3459dd66c142cf49