Refactor ESP-NOW air protocol to nanopb protobuf.

Add esp_now_messages.proto with EspNowMessage types, encode/decode helpers,
and Makefile targets to regenerate firmware and UART schemas together.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-18 22:44:57 +02:00
co-authored by Cursor
parent 6cdca4f3ad
commit 755bdd92d7
9 changed files with 405 additions and 100 deletions
+5
View File
@@ -3,3 +3,8 @@ default:
proto_generate_uart:
python libs/nanopb/generator/nanopb_generator.py main/proto/uart_messages.proto
proto_generate_espnow:
python libs/nanopb/generator/nanopb_generator.py main/proto/esp_now_messages.proto
proto_generate: proto_generate_uart proto_generate_espnow