-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: rpc: openthread: dynamic allocation for CLI commands #19228
Conversation
This commit adds new helper function nrf_rpc_decode_str_ptr_and_len() that decodes CBOR string without copying it to a buffer. It allows to get string length before buffer allocation. Signed-off-by: Konrad Derda <[email protected]>
CLI commands may require large buffer for command strings. This commit introduces usage of dynamic allocation to avoid usage of huge static buffer. Signed-off-by: Konrad Derda <[email protected]>
5a02a7b
to
e76b1ef
Compare
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: e76b1effe45ba2b32c25e41acaf53fd21fa4c300 more detailssdk-nrf:
Github labels
List of changed files detected by CI (3)
Outputs:ToolchainVersion: b77d8c1312 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
please use forks |
No description provided.