Hi, I'm developing my own coordinator and I have problem with joining IAS devices. I'm using cc2530 loaded with standard .hex file provided by TI and I'm controlling it through serial port. I can see that joining IAS devices is different from joining 'normal' devices because of enrolling that is happened on ZCL layer and not on ZNP.
When I'm trying to join IAS device to my coordinator I can see that the device is sending ZDO_MATCH_DESC_REQ looking for IAS cluster but my coordinator is not responding (and that is ZNP layer and I think the coordinator should responde without my implementation).
I also figured out that IAS Zone devices can only have Zone cluster as a server and that they can send data directly to MAC address provided by Zone settings attribute.
Can someone help me with understanding of joining IAS devices, I would be very grateful.
Thank you in advance!
Marko Kosanovic
i guess ,your coodinator maybe have the client zone cluster.and then the IAS device send the match req ,your coordinator can response it rightly.and then the deivce will finish the enroll .then it can send the alarm change message to the CIE when someting is changed.
can you tell me which company products do you use?
Hi zhong ren,
I use netvox and wulian products. Yes you have written this correct, it was the problem.
Regards,
Marko
The ZigBeeNetworkProcessor only implements up to the APS/NWK layer and the ZDO - anything higher, like Application Profiles, and specifically, ZigBee Cluster Library Profiles like IAS, have to be implemented on the host which is using the ZNP.
Alternatively, you can build the entire application and stack to run on the CC2530 by starting with one of the ZCL sample applications like HA in the ZStack 2.5.0.
Hi Marko!
i have the same problem as you but for cordinator i use Xbee and ir motion detector from wulian. i wonder how did you solve problem with joining? Did you send match descriptor response? How should the packet look like?
Thanks for reply
Hi Matej,
The problem was that my endpoint didn't have cluster that was asked in match descriptor request, so it did not respond. If you add asked cluster it will respond. Try and let me know if you have solved your problem.
Where should I add the required cluster?
As I mentioned i'm using Xbee, which is using Digi private stack so it's impossible to add anything, or is it?
You should put cluster that is asked with match descriptor in endpoint on your xbee. I'm not familiar with xbee but that is something you have to be able to do, because there clusters represents functionality and if you want to make your own device you must have ability to add clusters to endpoint on your device.
I am using xbee as a coordinator not an end device. And that coordinator is going to communicate with wireless motion sensor. Is it
even possible to communicate with those devices (HA devices) with xbee, which does not have a HA profile stack?
Coordinator in zigbee can have everything like enddevice, so you can add endpoints, and implement clusters from HA clusters library. Clusters just make definition, so you should implement functionality. Eg, when you receive cmd from OnOff cluster to turn something ON you catch that command and decode it, and turn smth ON. When you send commands you should code it like it is said in cluster specification. So I can not see why you could not communicate with HA device. But your coordinator should create network that is compliant with HA specification. In Zigbee Home Automation Application Profile pdf, chapter 5.3
I am able to communicate with some, for example wireless wall switch (turn it on, off) ... device I have problem with is wireless motion detector. In the beginning it sends match descriptor request, but because I use xbee as my coordinator, which does not have that cluster and adding cluster to xbee is impossible, communication fails ... so I am asking: "Is it possible to communicate with HA devices with xbee which does not have the required clusters (adding them is impossible)?"
AFAIK no
So if I had usb dongle which support HA profile (mbee, ubee) this will work?
I really don't know, I have no experience with those devices and I cannot tell if coordinator should have those clusters needed for comunication or can some other device have them.
I guess it does matter as somebody said: "In order for any ZigBee OR ZigBee Pro device to communicate with any "ZigBee Home Automation" device like a lock, both sides must also support the ZigBee Home Automation Profile."
Thank you for your replies!
Hi,
Marko in some previous post, you mentioned that you use netvox and wulian products... I guess that, you use netvox usb dongle for coordinator, am i right? If i am, which one?they have two in their offer z-110a and z-103a
How do you communicate with devices? Are you using some netvox software or via serial interface by some AT commands or something like that?