Add multi-meter energy sender schema with UART0/1/2 mode split
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user