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.

CC2530: How can all end device receive broadcast and respond broadcast ?

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

Z-Stack Home 1.2.2a.44539-cc2530

1 coordinator, 27 end devices, no routers

NV_RESTORE 

End Device POLL_RATE:-DPOLL_RATE=4000

The object : the coordinator broadcasts a data command, and the end devices returns a data to the coordinator 
The problem : the coordinator send broadcasts  data.

广播测试.7z

  • You shouldn't use broadcast to send message to end devices.
  • If you set the DEST. PANID to 0xFFFF and DEST. ADDR to 0xFFFF all devices listening to the configured channel will receive the data. This is Broadcast.

    If you just set the DEST. ADDR to 0xFFFF you will issue a Multicast, and all devices listening to the channel that maches the messagem PANDID will receive the packet. This is Multicast.

    I don't know how ZSTACK will treat each one, but if you set a breakpoint inside the radio interruption you should be able to see the received bytes in the memory watch.

    Broadcast and Multicast will only work when using 16-bit short address in your FCF (Frame Control Field).