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.

Router and coordinator broadcast frames question

I am using a Zstack2.5.1a protocol, I found Router and Coordinator  will broadcast a data frame every15s, as shown below:


I would like to know the following questions:
1. What is the role of the broadcast frame?
2. I want to disable the router's broadcast  data frames, what will happen?
3. How can I diable the Router broadcast frames ?

  • liangliang lou said:
    1. What is the role of the broadcast frame?

    These are LinkStatus messages. They are used to populate the neighbor tables, which are intern used to setup routes.

    liangliang lou said:
    2. I want to disable the router's broadcast  data frames, what will happen?

    Disabling this will mean that this router will not be in any of the neighbor tables, it will not be used to rout messages and no routes will be setup to it. You should not disable these messages, the result will be a device that can not route and can not have a route set up to it (i.e. it will never receive messages). You can change the rate of these broadcasts by over riding by defining NWK_LINK_STATUS_PERIOD, to override the default value in nwk_globals.h:

      #if !defined ( NWK_LINK_STATUS_PERIOD )
        #define NWK_LINK_STATUS_PERIOD 15       // 15 seconds
      #endif

    But I recommend that you do not change this. If a neighboring device does not hear this LinkStatus message for 3x its own NWK_LINK_STATUS_PERIOD it will be removed from its neighbor table.

    Regards, TC.