Add multi-meter energy sender schema with UART0/1/2 mode split

This commit is contained in:
2026-02-04 15:22:24 +01:00
parent 290ca55b8b
commit 938f490a32
10 changed files with 307 additions and 292 deletions

View File

@@ -3,17 +3,22 @@
#include <Arduino.h>
struct BatchInput {
uint8_t schema_id;
uint16_t sender_id;
uint16_t batch_id;
uint32_t t_last;
uint8_t dt_s;
uint8_t n;
uint8_t meter_count;
uint16_t battery_mV;
uint8_t err_m;
uint8_t err_d;
uint8_t err_tx;
uint8_t err_last;
uint8_t err_rx_reject;
uint32_t energy1_kwh[30];
uint32_t energy2_kwh[30];
uint32_t energy3_kwh[30];
uint32_t energy_wh[30];
int16_t p1_w[30];
int16_t p2_w[30];