Hi,
I have to find a ZStack message in order to be sent from the coordinator to all the devices (0xFFFF broadCast) so that all the devices that are alive reply this message with their short or IeeeAddress. (it is does not care why ask for, just I need to receive a message with their short address or no message if the devices are OFF).
I have tried by using ZDO_IEEE_ADDR_REQ, ZDO_ACTIVE_EP_REQ and other MT_ZDO messages (sending Short Address field to 0xFFFF) in order to get a message from all of them with the goal of knowing which devices are still alive. By using ZDO messages I can not use broadCast short address, could you tell me why?
On the other hand, I thought to use as solution a AF_DATA_REQUEST, so I have tried by sending a AF_DATA_REQUEST including a Read Attribute Command with the Basic Cluster and attribute = model, the problem here is that If I send (0xFF as EndPoint address) in order to cover all the EndPoint (since I do not know which End Point address uses each Device for the Basic Cluster) I get the response of all the End Point in the devices which is very bad from a power point of view.
Summarazing, I need a simple message (ZStack Message) to be sent to BROADCAST SHORT ADDRESS in order to get a response from the devices (in the response it should be specified the short address of each device), how could I achieve this? I guess I am not the first one who faced with this problem.
Thank you in advance
Note: I can not create my own profiles since I do not have access to the Devices Firmware, I just can use ZStack Messages to send information from the coordinator to the devices and receive ZStack messages from the coordinator.