Edgehog Device SDK ESP32
ESP32 device SDK for the Edgehog platform
edgehog_device_config_t Struct Reference

Edgehog device configuration struct. More...

#include <edgehog_device.h>

Collaboration diagram for edgehog_device_config_t:

Data Fields

astarte_device_handle_t astarte_device
 
const char * partition_label
 
edgehog_device_telemetry_config_ttelemetry_config
 
size_t telemetry_config_len
 

Detailed Description

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.


The documentation for this struct was generated from the following file: