How does server control nodes working in mesh

ESP_Alen

How does server control nodes working in mesh

Postby ESP_Alen » Sat May 28, 2016 5:32 pm

Dear Alen,

You said that we have to build bcast for our server to send data over mash.

Inside of mesh_demo.c we have seen comment to make packet for sending data to single node.

1. Do we need to modify only server side or both mesh and server to be able to send packet to single node and to all nodes ?

Regards
Ivan

ESP_Alen

Re: How does server control nodes working in mesh

Postby ESP_Alen » Sat May 28, 2016 5:34 pm

Alen wrote:Dear Alen,

You said that we have to build bcast for our server to send data over mash.

Inside of mesh_demo.c we have seen comment to make packet for sending data to single node.

1. Do we need to modify only server side or both mesh and server to be able to send packet to single node and to all nodes ?

Regards
Ivan


You don't need to modify the code of node, just build mesh bcast packet on server and send it to root node, the packet will be forwarded to every node working in mesh.

Please refer to mesh_json.c for bcast case (mesh_json_bcast_test)

Duke
Posts: 24
Joined: Tue May 31, 2016 10:52 am

Re: How does server control nodes working in mesh

Postby Duke » Tue May 31, 2016 3:38 pm

您好,肖工:
我是初学Mesh组网,看过了几遍的用户指南,还是有很多的问题不懂,您能留下您的QQ号么,我跟您联系。 :P

ESP_Alen

Re: How does server control nodes working in mesh

Postby ESP_Alen » Wed Jun 01, 2016 2:52 pm

Please post all the question here, we will response your question soon.

yudxp
Posts: 9
Joined: Fri Aug 14, 2015 9:28 pm

Re: How does server control nodes working in mesh

Postby yudxp » Mon Jun 20, 2016 4:48 pm

Dear Mr.Alen
In case that router die, is mesh network change from online to local?
Can my phone connect to local mesh and send Bcast data?

Thx for your help

ESP_Alen

Re: How does server control nodes working in mesh

Postby ESP_Alen » Mon Jun 20, 2016 6:13 pm

yudxp wrote:Dear Mr.Alen
In case that router die, is mesh network change from online to local?
Can my phone connect to local mesh and send Bcast data?

Thx for your help


Yes, it is ok.

Who is online

Users browsing this forum: No registered users and 13 guests