wifi client configuration

kishan patel
Posts: 45
Joined: Wed Aug 30, 2017 4:56 am

wifi client configuration

Postby kishan patel » Mon Sep 11, 2017 9:56 am

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

ESP_Sprite
Posts: 9051
Joined: Thu Nov 26, 2015 4:08 am

Re: wifi client configuration

Postby ESP_Sprite » Tue Sep 12, 2017 1:06 am

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?

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 243 guests