Closed szczys closed 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
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)