Skip to content

Conversation

JordanYates
Copy link
Contributor

@JordanYates JordanYates commented Aug 13, 2025

rpc_wrappers: bt_mcumgr_reboot: add wrapper
util: internal: cleanup variable naming
rpc_wrappers: use base kv_store_value_factory
rpc_wrappers: kv_read: add vla_from_buffer_copy

Add a wrapper for the `bt_mcumgr_reboot` command.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Rename internal variable names to remove TDF references.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Remove duplicate code from multiple RPC wrappers. Intstead use the
helper function defined in the base `kv_write` function.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Add a `vla_from_buffer_copy` method to the response decoder so it is
broadly compatible with `VLACompatLittleEndianStruct`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@JordanYates JordanYates merged commit a3c2940 into main Aug 13, 2025
4 checks passed
@JordanYates JordanYates deleted the improve/cleanup branch August 13, 2025 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant