feat: add ESP32 embedded agent + namespace VRF reference docs + update android-agent submodule

- apps/device-agent-embedded/: ESP32 WireGuard agent (C, ESP-IDF, mbedTLS)
- reference/namespace-vrf/: Linux namespace/VRF network isolation docs
- apps/android-agent: VPN permission check, StartResult sealed class
This commit is contained in:
datadunia
2026-09-13 14:39:24 +07:00
parent 88fa60901e
commit e523398fa8
31 changed files with 6766 additions and 1 deletions
@@ -0,0 +1,24 @@
/**
* @file provision.h
* @brief HTTP Provisioning
*/
#ifndef PROVISION_H
#define PROVISION_H
#include <esp_err.h>
#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 */