Hello,
I would like to send data from the coordinator to one device using AF_DATA_REQUEST. However, I see nothing when capturing on my channel (I see other data, so the channel/capture is correct, just not when I would like to send).
AF_DATA_REQUEST - Sending in Cluster 0006
fe102401 b358 01 01 0600 00 00 00 06 18000aababab 67
- Length is 16 (after the command, without FCS) -> 0x10
- DST Address is 58b3 -> b358 (in the command)
- DST Endpoint 01
- SRC Endpoint 01
- Cluster ID: 0006
- Trans ID: 00
- Options: 00
- Radius: 00
- Length of data: 06
- Data: 18000aababab
- FCS is 67
I receive: fe0164010064 (Status 00 -> Success, meaning the command/FCS was OK)
Furthermore, I receive:
AF_DATA_CONFIRM: fe034480 cd 01 00 0b
-> Status: cd
-> Endpoint 01
-> Trans ID: 00
This is obviously not the correct status, as it is supposed to be 00.
I know that you have to register the endpoints first with AF_REGISTER as described here:
e2e.ti.com/.../cc2530-need-help-about-af_data_request-on-z-stack-3-0-znp
I am using:
AF_REGISTER
fe112400 01 0401 0001 00 00 02 00000600 02 00000600 30
- Endpoint 01
- AppProfID = 0104
- AppDevice ID = 0100
- AppDevVer: 00
- Latency: 00
- AppInClusters: 02 (0000 and 0006)
- AppOutClusters: 02 (0000 and 0006)
- This is the basic cluster as well the cluster 0006 used by the device I would like to send to.
- The command is exectued successfully: SRSP - fe01640000 - Status: 00
- What is actually the AppProfId? - This seems to be the Zigbee Profile 0104 Home Automation (HA)
- What is the AppDeviceID? Why is this 0010 (as per the given example)? Where do I get this value from?
- What does status cd in AF_DATA_CONFIRM mean?
What am I missing please? Is there something wrong with my AF_DATA_REQUEST or with the AF_REGISTER? Is there another command missing? Receiving data form my sensor on the ZC is fine. I only have this one ZC and the end devices.
Thanks,
Robert