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 can I receive a Data Broadcast from Coordinator?



Hi,

I use GenericApp with CC2530ZDK to receive broadcast data from coordinator. in the snifer I can see the message sended by CO but the GenericApp_ProcessEvent() do not receive any Messages or events indecating this.?

any Help

  • In GenericApp.c, I added this code to the key3 action on the ZC:


        if ( keys & HAL_KEY_SW_3 )
        {
          GenericApp_DstAddr.addrMode = afAddrBroadcast;
          GenericApp_DstAddr.addr.shortAddr = NWK_BROADCAST_SHORTADDR_DEVALL;
          GenericApp_DstAddr.endPoint = GENERICAPP_ENDPOINT;
        }

    And the ZR received the broadcast, as expected.

     

  • the ZC send the Broadcast correctly (I see the snifer Packet). the Problem is the Z ED. it doas not receive the packet.

    I must enable polling in the ED ? can the CO send Message to ED without binding?

  • Another way to put it would be to say that you must not disable polling on the ZED (until you better know what you are doing and what the ZigBee protocol is all about) - all of the ZED sample applications have polling on for a reason ... an RFD, reduced-function device, has its RX "off when idle", so there is no use to ever randomly send anything OA, over-the-air, to an RFD, because it will not be listening. The only time that an RFD is listening is immediately after it has sent a POLL for data. Sending a POLL for data to its FFD, full-function device (i.e. RX always on, except when transmitting, so you can send a message to it at any random time) parent is the only way the FFD Parent knows it is ok to talk to the RFD.

     

  • Ok and thank you for explanation