#pragma once

#include <cstdint>
#include <string>

namespace softbus::edge {

struct EdgeConfig {
    std::string deviceId{"EdgeDevice_01"};
    std::string daemonHost{"127.0.0.1"};
    uint16_t daemonPort{9000};
    int heartbeatPeriodMs{1000};
    std::string pointTablePath{"config/point_table.json"};

    bool loadFromFile(const std::string& path);
};

} // namespace softbus::edge
