STIMA  3
Public Attributes | List of all members
configuration_t Struct Reference

EEPROM saved configuration. More...

#include <i2c-leaf.h>

Collaboration diagram for configuration_t:
Collaboration graph
[legend]

Public Attributes

uint8_t module_main_version
 module main version
 
uint8_t module_configuration_version
 module configuration version
 
uint8_t module_type
 module type
 
uint8_t i2c_address
 i2c address
 
bool is_oneshot
 enable or disable oneshot mode
 
uint16_t leaf_calibration_threshold
 
uint8_t module_version
 module version
 
bool is_continuous
 enable or disable continuous mode More...
 
uint16_t adc_voltage_max_panel
 
uint16_t adc_voltage_max_battery
 
float adc_voltage_offset_1
 
float adc_voltage_offset_2
 
float adc_voltage_min
 
float adc_voltage_max
 
float adc_calibration_offset [ADS1115_CHANNEL_COUNT]
 
float adc_calibration_gain [ADS1115_CHANNEL_COUNT]
 
float sensor_rad_max [ADS1115_CHANNEL_COUNT]
 
float sensor_voltage_max [ADS1115_CHANNEL_COUNT]
 
uint16_t tipping_bucket_time_ms
 Tipping bucket time in milliseconds.
 
uint8_t rain_for_tip
 How much mm of rain for one tip of tipping bucket rain gauge.
 
sensor_conf_t sensors [2]
 sensors configurations More...
 
sensor_t sensors [SENSORS_MAX]
 SensorDriver buffer for storing sensors parameter.
 
uint8_t sensors_count
 configured sensors number
 
uint16_t report_seconds
 seconds for report values
 
constantdata_t constantdata [USE_CONSTANTDATA_COUNT]
 Constantdata buffer for storing constant station data parameter.
 
uint8_t constantdata_count
 configured constantdata number
 
bool is_dhcp_enable
 dhcp status
 
uint8_t ethernet_mac [ETHERNET_MAC_LENGTH]
 ethernet mac
 
uint8_t ip [ETHERNET_IP_LENGTH]
 ip address
 
uint8_t netmask [ETHERNET_IP_LENGTH]
 netmask
 
uint8_t gateway [ETHERNET_IP_LENGTH]
 gateway
 
uint8_t primary_dns [ETHERNET_IP_LENGTH]
 primary dns
 

Detailed Description

EEPROM saved configuration.

Member Data Documentation

◆ is_continuous

bool configuration_t::is_continuous

enable or disable continuous mode

NOT USED enable or disable continuous mode.

◆ sensors

sensor_conf_t configuration_t::sensors

sensors configurations

SensorDriver buffer for storing sensors parameter.


The documentation for this struct was generated from the following files: