Zigbee Addressing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Zigbee Addressing

3,168 Views
wareagle
Contributor I
Hello,
I have some questions that I think should be relatively easy for those with experience to answer.  I'm working with the Generic Endpoint app in the Beestack Codebase.  I can successfully transmit messages from an SRB to an NCB (by a simple modification to the demo), but now I'm trying to send messages from the NCB back to the SRB.  My problem is how to get the short address of the SRB I'd like to talk to ( and I don't understand how the demo gets the NCB's address).  I assume that once i know this, I can do something like this:

Code:
addrInfo.dstAddrMode = gZbAddrMode16Bit_c;Copy2Bytes(addrInfo.dstAddr.aNwkAddr, <SRB's address>);

Ideally, each SRB will have a permanent short address.  If this is possible, where do I set this?

Thanks,
Kurt
 

Labels (1)
0 Kudos
Reply
5 Replies

1,402 Views
wareagle
Contributor I
Mads,
Thank you for your reply.  I did not find many details on binding in the Application User Guide (zaug.pdf).  However, if I read correctly, it seems that binding only works between two nodes.  In my network I will have about 20 nodes communicating with the NCB.  I know that the NCB keeps a table of all nodes in a PAN. Would this be the recommended way to get a particular node's address?  Obviously I'm a complete beginner with Zigbee, so if there are other documents I should read please let me know.  So far I cannot find the answer to these questions in the PDFs included with BeeKit.

Thanks,
Kurt
0 Kudos
Reply

1,402 Views
wareagle
Contributor I
I have found alot of useful information in the BSSRM.pdf document.  However, i still have a question or two.  If someone could answer these it would be much appreciated.

1. My network consists of a NCB and about 20 nodes which are all routers (running off of the BeeStack codebase).  Is it possible for a node to specify its short address when it requests to join the PAN? I'd like to be able to permanently set a node's short address.

2.  If specifying the short address isn't possible, I will use the 64-bit IEEE addresses to keep track of the nodes.  When I need to send a message from the NCB to one of the nodes, I assume I will do a APS_GetNwkAddress() to obtain the NWK address.  Is this table of addresses already built, or is that left up to me?

Thank you,
Kurt


Message Edited by wareagle on 2008-02-23 02:59 AM
0 Kudos
Reply

1,402 Views
bitasobhani
Contributor III
I found that each node only adds the address of its parent and childs when joining to its parent  or when a child joins to it. This is done aoutomaticlly and we don't need to add anything.
But I need to sepecify network short addresses of all nodes myself so that they can never change. Could you find the solution?
Thanks
0 Kudos
Reply

1,402 Views
JanellA
Contributor I
I've run into the same dilema as wareagle. How ought a program manage the addresses of 20+ routers?
0 Kudos
Reply

1,402 Views
Mads
Contributor V
wareagle,
the demo application uses a binding to communicate.
Please go through the steps of the ZigBee application users guide to learn how binding is done.
 
Then continue with the step by step instructions in the Beestack Application Developer's guide.
This will teach you how to develop a simple custom ZigBee application.
 
Br,
Mads
0 Kudos
Reply