Page 1 of 1

wifi client configuration

Posted: Mon Sep 11, 2017 9:56 am
by kishan patel
hello,
I have using esp-idf api to configure esp-wroom module as a client and make communication with server.
When i am using DNS to connect with server and when try to send some data to the server,sockect could not connect.
It is already perfectly work with another local server.
So, is there any configuration or method to make communication with live server.

I can see log as below,but socket connect log could not see.

I (470558) WIFI >> DEBUG-PRINT: Connected to AP
I (470564) WIFI >> DEBUG-PRINT: DNS lookup succeeded.
I (470571) WIFI >> DEBUG-PRINT:
socket_id = 1

I (470576) WIFI >> DEBUG-PRINT: ... allocated socket

Re: wifi client configuration

Posted: Tue Sep 12, 2017 1:06 am
by ESP_Sprite
Erm... that doesn't really tell us much. With what error code does the connect fail? What code do you use to try to connect?