Hi.
I want to implement ESP32 working in Access Point (AP) mode and create TLS-PSK TCP server on ESP32 side. I see that I need to use esp_tls_conn_new_async (or _sync, no matter). I see that hostname should be passed as a parameter.
1) Is it a hostname of the client connected to ESP32?
2) How can I get that hostname for TCP client connected to ESP32 in AP mode? Is it possible at all?
As I see, somebody else was looking for the gethostbyaddr implementation: viewtopic.php?t=3148
When I pass ESP32 hostname or even empty string to esp_tls_conn_new_async, it fails during resolving hostname: getaddrinfo().
ESP32 AP mode, get TCP client hostname for TLS
Who is online
Users browsing this forum: Manikandan and 160 guests