feat: Add custom transport configuration

Today there is no way to add a new transport without applying
modifications to the transport list. This impose limitations on the
client usage. Adding the custom configuration we enable user defined
transports.
This commit is contained in:
Euripedes Rocha
2023-05-03 09:49:17 +02:00
committed by Rocha Euripedes
parent ffd7d4df6c
commit a5c1b441dc
4 changed files with 32 additions and 20 deletions

View File

@@ -91,6 +91,7 @@ typedef struct {
bool use_secure_element;
void *ds_data;
int message_retransmit_timeout;
esp_transport_handle_t transport;
} mqtt_config_storage_t;
typedef enum {