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.

endpoints joining mechanism

Other Parts Discussed in Thread: Z-STACK

Hi all,

I have several questions regarding the joining to a zigbee network, that I could not find answers in the relevant docs. I'll be glad if you could assist me with.

1.       When a coordinator establishes a network, it selects the "best" channel. The problem is what will happen if 17 coordinators are in the range?  Which channel will the 17th coordinator will select?

2.       When two coordinators in the same area and a new endpoint request to join, which coordinator will get the request?

3.       If the coordinator's channel is not constant, how can a endpoint determine which coordinator he "belongs to"?

4.       I read about mechanism that after press on pushbutton on the coordinator, the coordinator will allow endpoints to be added in the next 10sec. can you please direct me to information about it?

 

Thanks,

Nir

 

  • From the Z-stack Developer's Guide:

     

     

     

    9.1 Configuring channel

    Every device must have a

     

    DEFAULT_CHANLIST

    (in f8wConfig.cfg) that controls the channel selection. For a

    Zigbee coordinator, this list will be used to scan for a channel with the least amount of noise. For Zigbee Routers

    and End Devices, this list will be used to scan for existing networks to join.

    9.2 Configuring the PAN ID and network to join

    This is an optional configuration item to control which network a Zigbee Router or End Device will join. The

    ZDO_CONFIG_PAN_ID

     

    parameter in f8wConfig.cfg can be set to a value (between 0 and 0x3FFF). A coordinator

    will use this value as the PANId of the network that it starts. A router or end-device will only join a network that has

    a PANId configured in this parameter. To turn this feature off, set the parameter to a value of 0xFFFF.

    For further control of the joining procedure, the

     

    ZDO_NetworkDiscoveryConfirmCB

    function in the

    ZDApp.c

     

    should be modified.

  • Thanks for the quick answer!
    Let my refine my questions:
    If I set in hardware the first coordinator’s PAN ID to 0x0001, a second coordinator’s PAN id to 0x0002, and set PAN ID of all routers / endpoints to 0xFFFF – will the router be able to join both of them (once to the first coordinator, and to the second coordinator in different time – not simultaneously ) ?
    Are two coordinators can “live” in the same channel?
    Is the coordinator can choose PAN ID automatically, when set to 0x3FFF

    How would you suggest solving the next problem?
    Two coordinators may be close to each other. I cannot know what will be the PAN ID of them in advance.  Routers or endpoints should be connected to the coordinators, some of them to the first coordinator, and some of them the second coordinator. I cannot set both coordinators’ and routers’ PAN ID, because I don’t know the PAN ID of the coordinator.


    Thanks you,
    Nir