feat: Expose the function to get socket descriptor from the transport

Closes https://github.com/espressif/esp-protocols/issues/636
Closes https://github.com/espressif/esp-mqtt/issues/282
This commit is contained in:
Bogdan Kolendovskyy
2024-08-20 11:17:57 +02:00
parent fb6af9e6bc
commit 872ae5211f
3 changed files with 13 additions and 17 deletions

View File

@@ -19,9 +19,6 @@
#define CONNECT_TASK_PRIORITY (LISTENER_TASK_PRIORITY+1)
#define CONNECT_TASK_PRIORITY_LOWER (LISTENER_TASK_PRIORITY-2)
// This is a private API of the tcp transport, but needed for socket operation tests
int esp_transport_get_socket(esp_transport_handle_t t);
/**
* @brief Event flags for synchronization between the listener task, the connection task and the test task
*/