Other Parts Discussed in Thread: Z-STACK
Good day everyone,
As you all know binding is one of the most common practices, I´m currently able to bind two devices using the buttons (with ZDP_EndDeviceBindReq). Now I´m trying to bind devices remotely with Z Tool, this is done I believe with ZDO_BIND_REQ command.
I have two devices ZC (Switch) and ZED (Light), I´m trying to bind them. The command asks for the following information:
DstAddr: ZC short address
SrcAddr: ZC IEEE address
SrcEndpoint: ZC´s endpoint to bind (0x0C in TI´s HA example)
ClusterID: 0x06 (ZCL_CLUSTER_ID_GEN_ON_OFF)
BindAddrMode: ADDRESS_64_BIT
BindAddr: ZED´s IEEE address
BindEndPoint: ZED´s endpoint to bind (0x0D in TI´s HA example)
I´ve read the Z-Stack Monitor and Test API and it explains what has to be put on each of the fields, which I believe I´ve filled correctly. I've also tried putting ZC's information on the ZED's fields and the other way around.
Is there anything I´m missing? Thanks in advance for your help.
Best regards,
Aldo Cedillo