Data Gator
Hardware and software documentation for the Data Gator project.
Loading...
Searching...
No Matches
config.hpp File Reference

Defines configuration options for network, sensor readings, etc. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NETWORK   "network_ssid_here"
 
#define PSSWD   "network_password_here"
 
#define MQTT_BROKER_ADDR   "192.168.50.10"
 
#define MQTT_PORT   1883
 
#define DEBUG   1
 
#define WIFI_TIMEOUT   10000
 
#define MAX_COUNT   120
 
#define OTA_FREQ   60
 
#define VWC_FREQ   5
 
#define HT_FREQ   5
 
#define TLM_FREQ   5
 

Detailed Description

Defines configuration options for network, sensor readings, etc.

Project Configuration Header generated from config.ini using config_generator.py

Macro Definition Documentation

◆ DEBUG

#define DEBUG   1

Global serial debug output flag

◆ HT_FREQ

#define HT_FREQ   5

Ticks/minutes between temperature and humidity sensor readings

◆ MAX_COUNT

#define MAX_COUNT   120

Number of timer ticks/power resets

◆ MQTT_BROKER_ADDR

#define MQTT_BROKER_ADDR   "192.168.50.10"

MQTT broker network address

◆ MQTT_PORT

#define MQTT_PORT   1883

MQTT broker port

◆ NETWORK

#define NETWORK   "network_ssid_here"

WiFi network SSID

◆ OTA_FREQ

#define OTA_FREQ   60

Frequency with which the device checks for new firmware version on server

◆ PSSWD

#define PSSWD   "network_password_here"

WiFi network password

◆ TLM_FREQ

#define TLM_FREQ   5

Ticks/minutes between device telemetry reports

◆ VWC_FREQ

#define VWC_FREQ   5

Ticks/minutes between volumetric water content sensor readings

◆ WIFI_TIMEOUT

#define WIFI_TIMEOUT   10000

WiFi timeout in seconds