Edgehog Device SDK ESP32 v0.8.1
ESP32 device SDK for the Edgehog platform
|
Edgehog device configuration struct. More...
#include <edgehog_device.h>
Data Fields | |
astarte_device_handle_t | astarte_device |
const char * | partition_label |
edgehog_device_telemetry_config_t * | telemetry_config |
size_t | telemetry_config_len |
Edgehog device configuration struct.
This struct is used to collect all the data needed by the edgehog_device_new function. Pay attention that astarte_device is required and must not be null, while partition_label is completely optional. If no partition label is provided, NVS_DEFAULT_PART_NAME will be used. The values provided with this struct are not copied, do not free() them before calling edgehog_device_destroy.