Switch LoRa batch payload to present-mask schema v3
BREAKING CHANGE: schema v2 is no longer supported. Replaces fixed dt_s timing with a 30-bit present_mask while keeping MQTT JSON unchanged.
This commit is contained in:
@@ -6,7 +6,7 @@ struct BatchInput {
|
||||
uint16_t sender_id;
|
||||
uint16_t batch_id;
|
||||
uint32_t t_last;
|
||||
uint8_t dt_s;
|
||||
uint32_t present_mask;
|
||||
uint8_t n;
|
||||
uint16_t battery_mV;
|
||||
uint8_t err_m;
|
||||
|
||||
Reference in New Issue
Block a user