Add uart_cmd helpers to deduplicate UART command handlers.

Centralize protobuf decode, response init/send, registration, and common
nanopb encode callbacks; refactor existing cmd_* modules to use them.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-18 23:21:48 +02:00
co-authored by Cursor
parent 20fea02b78
commit e95097085d
8 changed files with 193 additions and 149 deletions
+1
View File
@@ -13,6 +13,7 @@ idf_component_register(
"led_ring.c"
"uart.c"
"uart_proto.c"
"uart_cmd.c"
"cmd_handler.c"
"cmd_version.c"
"cmd_client_info.c"