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