Statistics: Posted by Guest — Tue May 24, 2016 5:08 pm
Alen wrote:Nikita Belyaev wrote:Hi everyone!
Can someone ask for this questions:
1) On which OSI layer does mesh protocols works?
2) How to create root node?
3) When I burned my esp8266 with mesh_demo from git, which kind of node I did? And how can I change user data?
4) Why I'm not able to change server IP? Be default its 0.0.0.0 7000. And when it started I cant see anything except "mesh server works"
There are more questions, but I cant go further without understanding of that things))
Thanks for your cooperation!
BR, Nik
1. ESP-Mesh works on TCP
2. root and non-root use the same image bin.
3. please refer to mesh_json.c for demo to set user data.
4. You can modify the IP address of server, please make sure the address is visible for root device.
Statistics: Posted by Nikita Belyaev — Mon May 23, 2016 5:16 pm
Statistics: Posted by Guest — Mon May 23, 2016 1:55 pm
Sorry, I'm confused about what you said, "where should we change output of UART to just send received packet"
I can't get what you mean.
Statistics: Posted by CipiCips — Sun May 22, 2016 2:20 am
Thanks a lot for answers!
here so more:
1) How does routing procedure works? I mean does each node know about all network's nodes? does routing static or dynamic?
2) What should i see, when local server works?
3) And where can I see all prints like thisCode:
MESH_DEMO_PRINT("bcast mesh is busy\n");
I'm really glad for your help. I have read a lot pdfs, but cant find out all this questions(
mesh will print "**** mesh is busy"
Code:
2. Every node sends one packet to server per 7 seconds after it joins mesh network.
3. Every node gets mac address of all devices working in mesh per 14 seconds after it joins mesh?
Statistics: Posted by Nikita Belyaev — Sat May 21, 2016 7:18 pm
1. Please use following statement to set serial baut ratio, we have merge the statements and push it on github.
uart_div_modify(0, UART_CLK_FREQ / 9600);
uart_div_modify(1, UART_CLK_FREQ / 9600);
2. The maximum length of mesh packet is 1300.
3. When node receive packet, it's feasible to send packet to MCU with USART.
Statistics: Posted by Guest — Sat May 21, 2016 12:59 pm
Alen wrote:Nikita Belyaev wrote:Hi everyone!
Can someone ask for this questions:
1) On which OSI layer does mesh protocols works?
2) How to create root node?
3) When I burned my esp8266 with mesh_demo from git, which kind of node I did? And how can I change user data?
4) Why I'm not able to change server IP? Be default its 0.0.0.0 7000. And when it started I cant see anything except "mesh server works"
There are more questions, but I cant go further without understanding of that things))
Thanks for your cooperation!
BR, Nik
1. ESP-Mesh works on application layer based on TCP layer. please refer to document for detail information;
https://github.com/espressif/ESP8266_ME ... ecture.pdf
2. All the node with the same image bin.
3. Mesh support HTTP/JSON/MQTT/BIN data, please refer to demo with json format in mesh_json.c
4. You can set ip address according to factual ip address of your server. And you can add some print to display more detail information.
Code:
MESH_DEMO_PRINT("bcast mesh is busy\n");
Statistics: Posted by Guest — Sat May 21, 2016 12:52 pm
Statistics: Posted by CipiCips — Sat May 21, 2016 4:39 am
Nikita Belyaev wrote:Hi everyone!
Can someone ask for this questions:
1) On which OSI layer does mesh protocols works?
2) How to create root node?
3) When I burned my esp8266 with mesh_demo from git, which kind of node I did? And how can I change user data?
4) Why I'm not able to change server IP? Be default its 0.0.0.0 7000. And when it started I cant see anything except "mesh server works"
There are more questions, but I cant go further without understanding of that things))
Thanks for your cooperation!
BR, Nik
Code:
MESH_DEMO_PRINT("bcast mesh is busy\n");
Statistics: Posted by Nikita Belyaev — Fri May 20, 2016 5:59 pm
Statistics: Posted by Guest — Fri May 20, 2016 5:31 pm
Statistics: Posted by Nikita Belyaev — Thu May 19, 2016 10:10 pm
Statistics: Posted by Guest — Thu May 19, 2016 8:37 pm
Statistics: Posted by CipiCips — Thu May 19, 2016 7:39 pm
Code:
mesh server works
<__main__.MeshHandler instance at 0x0000000002259248>
Code:
free heap:42856
recv entrance
mesh_json_proto_parser
len:27, data:{"req_key":"req_key_val"}
recv entrance
mesh_json_proto_parser
len:31, data:{"mcast":"18:fe:34:da:c0:b3"}
idx: 0, mac:e8:40:f2:47:0e:22
idx: 1, mac:18:fe:34:da:50:3a
recv entrance
mesh_json_proto_parser
len:31, data:{"mcast":"18:fe:34:da:50:3a"}
free heap:42856
recv entrance
mesh_json_proto_parser
len:27, data:{"req_key":"req_key_val"}
recv entrance
mesh_json_proto_parser
len:31, data:{"bcast":"18:fe:34:da:50:3a"}
Statistics: Posted by CipiCips — Thu May 19, 2016 12:38 am
Statistics: Posted by Guest — Tue May 17, 2016 6:09 pm
Statistics: Posted by CipiCips — Mon May 16, 2016 9:30 pm
Statistics: Posted by Guest — Thu May 12, 2016 7:34 pm
Statistics: Posted by CipiCips — Sat May 07, 2016 12:36 am