This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Mesh Networking with GenericApp

Other Parts Discussed in Thread: Z-STACK, CC2520, MSP430F2618

Could some one help me out to establish a mesh network with Z-Stack?

What are all the changes do I need to make GenericApp work for mesh networking? As I understood currently GenericApp broadcasts the packets to Coordinator (GenericApp_DstAddr.addr.shortAddr = 0;).

My setup is typical mesh network with Co-ordinator (SmartRF04EB+CC2430EM) connected to PC and Routers (SmartRF04EB+CC2430EM) as the inner nodes of the graph and EndDevices (SmartRF04EB+CC2430EM) being at the leaf edges.

I also would like to know the relationship between Routing and Binding Process?

Can I avoid using switches to get the binding process done? If so, what are the changes required for the current GenericApp application.

 

 

--Adi

  • Hi

    Sounds to me like you could profit from looking at the following workshop to learn more about the basics of ZigBee: http://e2e.ti.com/forums/p/4610/16962.aspx#16962

    Z-Stack automatically establishes a mesh network, so no need to do extra work. Simply build a coordinator, several routers and end devices, and then the z-stack will automatically built a mesh network.

    The binding process determines which application end point talks to/with which other end points in the mesh network; e.g. which lamps a switch controls is handled with binding. There are many ways to establish this (also described in the workshop).

    The routing process is responsible to send a packet from node A to node B using the optimal route through the mesh network.

    Good luck!

    -LL-

  • Thanks for the reply.

    I am not sure if they automatically establish mesh network. Because, in all the sample applications provided with the Z-Stack, we need to use keys to associate end devices or routers in to the network.

    Is it ok , if I just load the applications with different configurations (CoordinatorEB, RouterEB and EndDeviceEB) and turn them ON.

     

    Regards

    Adi

  • Yes, it is ok, as I did it several times. Simply pick a sample application (the HomeAutomation is my favorite), build one Coordinator and as many end devices and routers as possible and then they will form a network when you turn them on. If they are in RF range of each other they might form a star, but as soon as you move them appart from each other you will see the mesh.

    Not sure what you mean with "Because, in all the sample applications provided with the Z-Stack, we need to use keys to associate end devices or routers in to the network."

    What keys are you referring to? I never had to use any.

    -LL-

  • I am saying about the joystick and other key present on the SmartRF04EB board.

    I am not using HomeAutomation Profile, rather I am using Sample applications provided.

    Regards

    Adi

  • Hi everyone,

    the post is 3 years old so assuming all the people who have posted must have completed their respective projects.

    I am working on a board which doesn't have joystick and key peripherals. I mean the pins which goes to key and joystick are now NC(not connected). So, I can't use them to perform any functionality of the sample codes.which are give in z-stack, Could some body please tell me that what changes I will have to make in the files if I want to create a mess-adhoc network using these board.

    I am working on MSP430F2618 + cc2520 !

    Regards

    sumit

  • All of the GPIO and keys and LCD's, etc are in the OnBoard.c/h, ZMain.c, and HAL sub-directory files.

     

     

  • Thanks for reply !

    I also want to know that which sample code will be best for making an Ad-hoc + Mess network of such board, I have 5 boards so I will make one coordinator and other four routers. I will also do localization but that is the later part.

    Also the sample codes are very huge are very difficult to understand. So, is there some trick to understand them ??/....

    Regards

    Sumit