Hi Everyone,
I am using flow and Humidity Sensor, I am sending a ZDP_MatchDescReq from Enddevice. One enddevice will give flow Sensor Value ans other will Give a Humidity value to Coordinator. In the coordinator i am Using
#define ZCLSAMPLELIGHT_OUT_BINDINGLIST 2
static cId_t bindingOutClusters[ZCLSAMPLELIGHT_OUT_BINDINGLIST] =
{
ZCL_CLUSTER_ID_GEN_BASIC
ZCL_CLUSTER_ID_MS_RELATIVE_HUMIDITY,
ZCL_CLUSTER_ID_MS_FLOW_MEASUREMENT
};
Scenario 1:
Same cluster list is registered with SimpleDes. After powered up Three Device, ZC is Giving Match Desc Req Non matched.
Scenario 2:
If i switchoff the ZED which is having Humidity Sensor and power up ZED of flow sensor. Then also giving same Response.
Scenario 3:
If i remove the cluster of Humidity from ZC or replacing some dummy Cluster of temperature Sensor
static cId_t bindingOutClusters[ZCLSAMPLELIGHT_OUT_BINDINGLIST] =
{
ZCL_CLUSTER_ID_GEN_BASIC,
(ZCL_CLUSTER_ID_MS_TEMPERATURE_MEASUREMENT,)
ZCL_CLUSTER_ID_MS_FLOW_MEASUREMENT
};
and power on ZED of Flow and ZC only, Then it is Sending Match Rsp.
----------------------------------------------------------------------------------------------------------------
In the ZED of humidity i have used.
ZDP_MatchDescReq( &dstAddr, NWK_BROADCAST_SHORTADDR,
ZCL_HA_PROFILE_ID,
0, NULL,
ZCLHumiSensor_BINDINGLIST,
bindingInClusters,
FALSE );
where
#define ZCLHumiSensor_BINDINGLIST 1
static cId_t bindingInClusters[ZCLHumiSensor_BINDINGLIST] =
{
ZCL_CLUSTER_ID_MS_RELATIVE_HUMIDITY
};
I know this is strange. But i can't found the solution for this. After breaking my head, i am asking help from you guys.