ESP8266 Developer Zone The Official ESP8266 Forum 2016-03-04T11:18:55+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=1399 2016-03-04T11:18:55+08:00 2016-03-04T11:18:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1399&p=5971#p5971 <![CDATA[Re: Mesh TCP connection not working]]>
gailu wrote:
Hi Experts,

We have followed mesh example provided by espressif on GitHub but we are not able to make TCP connection to our server on internet either from Root node or from child node connected to root node. Though child nodes are successfully joining mesh.

Mesh status is showing MESH_ONLINE_AVAIL and espconn_mesh_connect()/espconn_mesh_sent() both returns 0 (i.e. no error) still no connection is established with server.

My question in this regard is related to a log printed by mesh library, Hope someone can explain the below prints from mesh library.

We observe following log when mesh_success callback is called
con_cb IP:115.29.202.58 rp = 8000, lp = 48470

I would like to know where this IP (115.29.202.58 ) is obtained/printed from? My router is assigning IP to root node in 192.168.0 subnet. To my surprise 115.29.202.58 is public IP of iot.espressif.cn (Checked with nslookup).

Question) I have not tried to contact iot.espressif.cn/115.29.202.58 anywhere in my code, why mesh library is printing this IP and for what purpose it is trying to contact iot.espressif.cn/115.29.202.58?

Question) Is it not possible to use mesh library without iot.espressif.cn/115.29.202.58? I mean does it have any dependency on iot.espressif.cn/115.29.202.58?

Best Regards


Hi,Gailu,

Now, sep-mesh supports local server, you can use API(epsconn_mesh_server_init) to set your local mesh server for mesh nodes.
We have released the mesh demo on github, please clone the current code from github.
https://github.com/espressif/ESP8266_MESH_DEMO
we also released the document about mesh APIs, please get document from the following link.
https://github.com/espressif/ESP8266_ME ... r/document

I'm R&D of sep-mesh, any problem about mesh, please feel free to sent mail to me (xiaoyuezhen@espressif.com).
I'll reply you as soon as possible.

Statistics: Posted by Guest — Fri Mar 04, 2016 11:18 am


]]>
2015-11-20T13:14:06+08:00 2015-11-20T13:14:06+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1399&p=4681#p4681 <![CDATA[Re: Mesh TCP connection not working]]>
Thank you very much for the confirmation.

Statistics: Posted by gailu — Fri Nov 20, 2015 1:14 pm


]]>
2015-11-20T09:53:26+08:00 2015-11-20T09:53:26+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1399&p=4672#p4672 <![CDATA[Re: Mesh TCP connection not working]]>
Sorry that mesh can only work with Espressif Cloud now.

But your advice is very valuable, we will add this new feature to support user's server in the future.

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Fri Nov 20, 2015 9:53 am


]]>
2015-11-20T02:12:38+08:00 2015-11-20T02:12:38+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1399&p=4671#p4671 <![CDATA[Re: Mesh TCP connection not working]]> Statistics: Posted by gailu — Fri Nov 20, 2015 2:12 am


]]>
2015-11-18T21:02:10+08:00 2015-11-18T21:02:10+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1399&p=4649#p4649 <![CDATA[Re: Mesh TCP connection not working]]> Statistics: Posted by gailu — Wed Nov 18, 2015 9:02 pm


]]>
2015-11-17T19:09:29+08:00 2015-11-17T19:09:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1399&p=4632#p4632 <![CDATA[Mesh TCP connection not working]]>
We have followed mesh example provided by espressif on GitHub but we are not able to make TCP connection to our server on internet either from Root node or from child node connected to root node. Though child nodes are successfully joining mesh.

Mesh status is showing MESH_ONLINE_AVAIL and espconn_mesh_connect()/espconn_mesh_sent() both returns 0 (i.e. no error) still no connection is established with server.

My question in this regard is related to a log printed by mesh library, Hope someone can explain the below prints from mesh library.

We observe following log when mesh_success callback is called
con_cb IP:115.29.202.58 rp = 8000, lp = 48470

I would like to know where this IP (115.29.202.58 ) is obtained/printed from? My router is assigning IP to root node in 192.168.0 subnet. To my surprise 115.29.202.58 is public IP of iot.espressif.cn (Checked with nslookup).

Question) I have not tried to contact iot.espressif.cn/115.29.202.58 anywhere in my code, why mesh library is printing this IP and for what purpose it is trying to contact iot.espressif.cn/115.29.202.58?

Question) Is it not possible to use mesh library without iot.espressif.cn/115.29.202.58? I mean does it have any dependency on iot.espressif.cn/115.29.202.58?

Best Regards

Statistics: Posted by gailu — Tue Nov 17, 2015 7:09 pm


]]>