// BLE settings (loaded from JSON)
#pragma once
#include "Arduino.h"

// Defaults (used if JSON missing fields)
#define DEFAULT_BT_DEVICE_NAME        "ATALIGHTS"
#define DEFAULT_BT_SERVICE            "FFE0"
#define DEFAULT_BT_SP110E_CHAR        "FFE1"
#define DEFAULT_BT_STICK_CHAR         "FFE2"
#define DEFAULT_UPGRADE_SERVICE       "abcdef01-2345-6789-1234-56789abcdef0"
#define DEFAULT_UPGRADE_CHAR1         "abcdef01-2345-6789-1234-56789abcdef1"
#define DEFAULT_UPGRADE_CHAR2         "abcdef02-2345-6789-1234-56789abcdef1"

extern String BTDeviceName;
extern String BTServiceUUID;
extern String BTSP110ECharacteristicUUID;
extern String BTStickCharacteristicUUID;
extern String BTUpgradeServiceUUID;
extern String BTUpgradeCharacteristic1UUID;
extern String BTUpgradeCharacteristic2UUID;

void Load_BLE_Settings(const String &configPath);