Files
central_backend
central_frontend
custom_consumption
docs
esp32_device
.devcontainer
.vscode
docs
main
CMakeLists.txt
constants.h
crypto.c
crypto.h
dev_name.c
dev_name.h
ethernet.c
ethernet.h
http_client.c
http_client.h
jwt.c
jwt.h
main.c
ota.c
ota.h
random.c
random.h
relays.c
relays.h
secure_api.c
secure_api.h
storage.c
storage.h
sync_response.c
sync_response.h
system.c
system.h
unsecure_api.c
unsecure_api.h
.gitignore
CMakeLists.txt
README.md
build_upload_dev.sh
sdkconfig
sdkconfig.old
version.txt
python_device
.drone.yml
LICENSE
Makefile
README.md
renovate.json
SolarEnergy/esp32_device/main/unsecure_api.h
2024-08-18 19:42:40 +02:00

31 lines
502 B
C

/**
* Unsecure API functions
*/
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
/**
* Get secure origin
*
* @returns The URL to the secure origin or NULL in case of failure. Value must be
* released by caller.
*/
char *unsecure_api_get_secure_origin();
/**
* Get root CA
*
* @returns The root CA or NULL in case of failure. Value must be
* released by caller.
*/
char *unsecure_api_get_root_ca();
#ifdef __cplusplus
}
#endif