Sentinel
Loading...
Searching...
No Matches
config.h File Reference

Configuration Header File. More...

#include <freertos/FreeRTOS.h>
#include <freertos/semphr.h>
#include "secrets.h.default"

Go to the source code of this file.

Macros

#define DEBUG   0
 
#define USING_SECRETS_DEFAULT
 
#define DEVICE_ID   "SENTINEL-001" <
 
#define TINY_GSM_USE_GPRS   true
 
#define TINY_GSM_USE_WIFI   false
 
#define DHTTYPE   DHT22
 PIN Definitions for RGB LED.
 
#define TEMP_DELTA_THRESHOLD   0.1
 
#define HUM_DELTA_THRESHOLD   1.0
 
#define STRAP_NAME   "POLAR H9 EC351E2B"
 Macros for Polar H9.
 
#define STRAP_ADDRESS   "a0:9e:1a:ec:35:1e"
 
#define HEARTRATE_SERVICE_UUID   "180D"
 
#define HEARTRATE_CHAR_UUID   "2A37"
 
#define GAS_RATIO_CLEANAIR   9.83
 Gas sensor macros.
 
#define GAS_DELTA_THRESHOLD   5.0
 
#define GAS_SETA   658.71
 
#define GAS_SETB   -2.168
 
#define MPU6500_ADDR   0x68
 Accelerometer macros / Setup I2C.
 
#define ACC_THRESHOLD   2.0
 Accelerometer fall thresholds.
 
#define ANGLE_THRESHOLD   60.0
 
#define MAX_TIME_BETWEEN   2000
 
#define STEP_THRESHOLD   1.2
 
#define STEP_DEBOUNCE_MS   300
 
#define X_OFFSET   0.0737
 Calibration offsets for accelerometer.
 
#define Y_OFFSET   -0.6132
 
#define Z_OFFSET   -0.9986
 

Variables

SemaphoreHandle_t serialMutex
 Serial mutex for thread-safe printing.
 
SemaphoreHandle_t modemMutex
 Modem mutex for thread-safe modem operations.
 
SemaphoreHandle_t networkEventMutex
 Mutex for network event handling.
 

Detailed Description

Configuration Header File.

Macro Definition Documentation

◆ DHTTYPE

#define DHTTYPE   DHT22

PIN Definitions for RGB LED.

DHT22 macros