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.

How to set manually a fixed Network Address

Other Parts Discussed in Thread: Z-STACK, CC2530

Hi!

I use cc2530 with ZigBeePro Stack, I have installed z-stack latest version(2.5). I would like to set the network address of my routers manually.

I found a similar post here: http://e2e.ti.com/support/low_power_rf/f/158/p/94163/424263.aspx but there wasn't a clear answer.

since my network has more than 50 router, I am forced to use fixed addressing.

  • Hi Melchiorre,

     

    I know that my question sounds a little bit odd, however, what is the reason you want these routers

    to be with fixed NWK addresses?

     

    Br,

    Igor

  • Igor Sherer said:

    Hi Melchiorre,

     

    I know that my question sounds a little bit odd, however, what is the reason you want these routers

    to be with fixed NWK addresses?

     

    Br,

    Igor

    Because my routers are in fix "geographic" position and I have to know the status of each of it in the network.

    In my application it's vital to know from the log the status and the position of each router. You know that after restarting the network, the  address it's changed.

     

  • Hi again,

     

    First of all, you can use NV_INIT and NV_RESTORE options, in that way power cycles

    won't affect the addresses.

    Still, I think it can't assure you 100% that some address won't be changed.

    You can also transmit (in APS layer) the IEEE (MAC) address of the device, I know that in

    this way you lose 8 byte of data, but, it can be crucial only when you need to transfer big

    chunks of data (lets say, 99 bytes per application message ).

     

    Br,

    Igor

  • Thanks for the tips!

    I am thinking to implement your solution plus the commissioning cluster. Because I read in Zigbee Cluster Library in commissioning cluster there is the short address attribute that I can set.

  • Hi,

     

    I'm not familiar with the commissioning cluster, so  I can't advise you on that one, sorry. :)

     

    Br,

    Igor

  • Hi Igor,

    First of all thanks for your suggest.

    At the end I used NV_INIT and NV_RESTORE, but cannot used the commisioning cluster to set the short address because this attribute is depricated in ZigBeePro.

    I found a way to set the short address, the problem was we cannot access to NLME functions. Now I need to do some test to verify my method, because I was comment a lot of control to set the short address.

    If I found a definetively solution, I post that!

     

    Br,

    Danilo