/** * @file provision.h * @brief HTTP Provisioning */ #ifndef PROVISION_H #define PROVISION_H #include #include "config.h" /** * @brief Provision device with server * * @param server_url Server URL (e.g., "https://api-nexus.datadunia.com") * @param token Registration token * @param hwid Hardware ID * @param config Configuration to populate * @return esp_err_t ESP_OK on success */ esp_err_t provision_device(const char *server_url, const char *token, const char *hwid, wg_config_t *config); #endif /* PROVISION_H */