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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user