#ifndef CONFIG_CAM_H
#define CONFIG_CAM_H

// ===================== WiFi =====================
#define WIFI_SSID          "Babayana"
#define WIFI_PASS          "enakjuga"

// ===================== Static IP (PERMANENT) =====================
#define USE_STATIC_IP     1
#define STATIC_IP          192,168,1,99
#define STATIC_GATEWAY     192,168,1,1
#define STATIC_SUBNET      255,255,255,0
#define STATIC_DNS         192,168,1,1

// ===================== Identity =====================
#define TENANT_ID          "tenantA"
#define SITE_ID            "jakarta-utara"
#define DEVICE_ID          "cam-001"

// ===================== Backend Service =====================
#define BACKEND_HOST       "192.168.1.22"
#define BACKEND_URL        "http://192.168.1.22:3003"  // Ingestion service for camera IP registration
#define BACKEND_PORT       3003

// ===================== Camera Settings =====================
#define FRAME_SIZE         FRAMESIZE_VGA      // 640x480 (bisa ganti SVGA=800x600)
#define JPEG_QUALITY       12                  // 0-63, makin kecil makin bagus
#define FB_COUNT           2                   // Frame buffers (2 jika ada PSRAM)

// ===================== HTTP Server =====================
#define HTTP_PORT          80

// ===================== Flash LED =====================
#define PIN_FLASH_LED      4                   // Onboard flash LED (GPIO4)

#endif // CONFIG_CAM_H
