set separate ssl connection properties before transport connect

This commit is contained in:
David Cermak committed 2020-01-30 08:31:59 +01:00
1 parent bbcf078a2b
commit 420441b677
2 files changed
+106 -57

No files matched your search

+6
View File
@@ -32,4 +32,10 @@ void ms_to_timeval(int timeout_ms, struct timeval *tv);
ESP_LOGE(TAG,"%s:%d (%s): %s", __FILE__, __LINE__, __FUNCTION__, "Memory exhausted"); \
action; \
}
#define ESP_OK_CHECK(TAG, a, action) if ((a) != ESP_OK) { \
ESP_LOGE(TAG,"%s:%d (%s): %s", __FILE__, __LINE__, __FUNCTION__, "Failed with non ESP_OK err code"); \
action; \
}
#endif