feat: Add option to bind interface of use

Enable user to set which interface should be used for client network,
allowing client to be binded to the interface selected by user forcing
it to go through the selected interface.

Closes https://github.com/espressif/esp-mqtt/issues/253
This commit is contained in:
Euripedes Rocha committed 2023-06-14 14:48:44 +02:00
1 parent 63cfec799c
commit 363fbf7dab
3 files changed
+18

No files matched your search

+1
View File
@@ -91,6 +91,7 @@ typedef struct {
int message_retransmit_timeout;
uint64_t outbox_limit;
esp_transport_handle_t transport;
struct ifreq * if_name;
} mqtt_config_storage_t;
typedef enum {