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 start EndDevice without NWK_AUTO_POLL

In my application I want disable a compile flag of NWK_AUTO_POLL. Me need start connection network myself. How can I do this ?

And second question: how to enable trust key ? By using TC_LINKKEY_JOIN compile flag and  -DSECURE=1 ? And the trust key is keeping in nwk_globals.h as DEFAULT_TC_LINK_KEY ?

  • Does anyone know how to do it?

  • 1. Do you want your ZED doesn't do polling after join Zigbee network or you don't want it to try joining Zigbee network after it is powered on?

    2. Your understanding of enable trust key is correct.

  • 1. Do you want your ZED doesn't do polling after join Zigbee network or you don't want it to try joining Zigbee network after it is powered on ?

    I don't want any of it. Me need that after power on my ZigBee module will not be polling, I want to do this myself ... In documentation, I can't find how to do this ? Have found ZDO_StartDevice() can use, but can't find example what correctly parameters need to set in it ?

    2. Your understanding of enable trust key is correct.

    Correct is correct, but will some reson I receive announce messages when other device is starting ? But they key is't match ?

  • 1a. You can refer to HOLD_AUTO_START to see how to hold the device not to join Zigbee network until you press a button.

    1b. You can define POLL_RATE to 0 and device would not do polling after it joins Zigbee network.

    2. You won't receive end announcement if the key is not matched.

  • 1b. You can define POLL_RATE to 0 and device would not do polling after it joins Zigbee network.

    The EndDevice is sending requests Devce_annce ... then I answer LeaveNetwork ... but the device is anyway trying to join network ... I want write the enddevice software that it will be trying to join network when I want, can I do this with flag HOLD_AUTO_START and using ZDO_StartDevice() ?

    2. You won't receive end announcement if the key is not matched.

    We are talking about DEFAULT_TC_LINK_KEY key ? Because I am receiving the announcing messages on the side of coordinator when the EndDevice is power on ?

  • 1b. Yes, you can do this with flag HOLD_AUTO_START and using ZDO_StartDevice().

    2. Yes, we are talking DEFAULT_TCLINK_KEY. Check if you erase network info on flash on your device when you do power recycle?

    If I answer your questions well, please press verify button.

  • Another question, how can I stop trying to join network ? ... May be exist API like that ZDO_StopDevice() ?

  • I need that the End Device is trying to join to the network by some interval of time ... I mean: by one time in 15 seconds ? Can I do this ? And how, what is API functions need to use ?

  • You can set -DBEACON_REQUEST_DELAY=15000 in f8wconfig.h