Skip to content

Commit

Permalink
Moved PAYLOAD_SIZE from BresserWeatherSensorLW.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed May 24, 2024
1 parent 780a91c commit eb1c19f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BresserWeatherSensorLWCfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
// 20240520 Added definitions for AppLayer payload configuration
// 20240521 Added UBATT_CH/USUPPLY_CH
// 20240524 Added sensor feature flags
// Moved PAYLOAD_SIZE from BresserWeatherSensorLW.ino
//
// Note:
// Depending on board package file date, either
Expand Down Expand Up @@ -94,6 +95,10 @@
//#define ARDUINO_THINGPULSE_EPULSE_FEATHER
#endif

// Uplink message payload size
// The maximum allowed for all data rates is 51 bytes.
const uint8_t PAYLOAD_SIZE = 51;

// Battery voltage thresholds for energy saving & deep-discharge prevention

// If battery voltage <= BATTERY_WEAK [mV], MCU will sleep for SLEEP_INTERVAL_LONG
Expand Down

0 comments on commit eb1c19f

Please sign in to comment.