Welcome to the Low Power RF & Wireless Connectivity Section of the TI E2E Support Community. Ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers. To post a question, click on the forum tab then "New Post".
Q: FAQ: Sending broadcast packets from the application (Z-Stack, ZigBee) by 656199
The GenericApp project is used as an example.Set the destination address and endpoint to broadcast in the GenericApp_Init function like this:
GenericApp_DstAddr.addrMode = (afAddrMode_t)AddrBroadcast;GenericApp_DstAddr.endPoint = AF_BROADCAST_ENDPOINT;GenericApp_DstAddr.addr.shortAddr = APS_BROADCAST_SHORTADDR;
The sent packet will then be broadcasted to all devices in the PAN.