Open f23 opened 9 years ago
Hi Federico,
This code was made to simulate a mesh network. Means actually it is not a real mesh network like Zigbee. You need to understand it first.
Second, there are 2 kinds of node: station and tag. In a network, you need to have at least one station. Data from a tag to another tag must through station. The role of station is routing the data package to right destination.
I think you can create a network like you figure with my code. If any issue, you can post here. I will help you.
Best, Tan
ah ok! now I understand! thanks :) Maybe I can create a new topology of network for my intent using your codes, in this way:
O b
O a
/
My (mesh) idea: / \ ---> New (star) topology: a O -- station b O----O c \
O c
I could use 4 arduino: 1 for the station and 3 for the taga (that correspond to my a,b,c nodes). What do you think about that?
PS: Can you indicate to me what part of your code I must modify for routing a message (via station) to a specific node? If I (more or less) understand your code, at the moment every message is send to all the tags..
Best regards,
Federico
On Thu, Apr 2, 2015 at 2:16 PM, Tan M. notifications@github.com wrote:
Hi Federico,
This code is made to simulate a mesh network. Means actually it is not a real mesh network like Zigbee. You need to understand it first.
Second, there are 2 kind of node: station and tag. In a network, you need to have at least one station. Data from a tag to another tag must via station. The role of station is routing the data package to right destination.
I think you can create a network like you figure with my code. If any issue, you can post here. I will help you.
Best, Tan
— Reply to this email directly or view it on GitHub https://github.com/nhattanmai91/mesh-network-tag-station/issues/1#issuecomment-88880756 .
Yes. The message is sent to all node. You have to understand by yourself because I think it's easy. Really.
I can't see your topology clearly
ok! I'll try to understand how I can make the routing of the packets :) Thank you very much!!!
Federico
On Thu, Apr 2, 2015 at 3:15 PM, Tan M. notifications@github.com wrote:
Yes. The message is sent to all node. You have to understand by yourself because I think it's easy. Really.
I can't see your topology clearly
— Reply to this email directly or view it on GitHub https://github.com/nhattanmai91/mesh-network-tag-station/issues/1#issuecomment-88892247 .
Hello Tan, I'm studying your Arduino codes and I wanted to ask you what should I load on the three electronic boards to run the program that you've posted in this video: https://www.youtube.com/watch?v=GpRiZNYLi-4
On which Arduino must be loaded the "station.ino" and the "tag.ino" for sending and receiving messages from all the boards? I want to create a mesh network between 3 nodes such as in the "figure":
b O-----O c
With your code it's possible to send a direct message from one electronic board to another selected one?
Thank You, Federico