// FluxAI_DogTracker_ESP32_SIM800L.ino
// Requires libraries: TinyGsmClient, TinyGPSPlus, ArduinoJson
#include < TinyGsmClient.h >
#include < TinyGPS++.h >
#include < ArduinoJson.h >
// ---------------- CONFIG ----------------
const char* APN = ""; // your SIM APN
const char* GPRS_USER = "";
const char* GPRS_PASS = "";
const char* WEBHOOK_URL = "https://your.flux.ai/webhook/replace"; // replace with Flux AI webhook or server endpoint
const char* DEVICE_ID = "dog001";
const unsigned long REPORT_INTERVAL_MS = 60UL * 1000UL; // 60s
// ---------------- HARDWARE SERIAL ----------------
// Adjust pins to match your PCB / Flux schematic wiring
HardwareSerial SerialGPS(2); // RX=16, TX=17 typical
HardwareSerial SerialGSM(1); // RX=27, TX=26 typical
// ---------------- MODEM SETUP ----------------
#define TINY_GSM_MODEM_SIM800