Hello,
We have cc2530 module as co-ordinator and want to configure it with Yale lock Zigbee device (ED).
1) want to tx and rx data to yale lock zigbee device to cc2530 for lock and unlock
2) i have been used Zstack 1.2 Home Automation profile and uses SampleDoorLockController code but still not get any success.
my coordinator code look like,
zAddrType_t dstAddr;
dstAddr.addrMode = AddrBroadcast;
dstAddr.addr.shortAddr = 0xFFFF; //to broadcast to binding request
NLME_PermitJoiningRequest(0xff);
ZDP_MgmtPermitJoinReq(&dstAddr, 0xFF, 1, FALSE);
afStatus_t ret;
ret = ZDP_BindReq( &dstAddr, 0x00, 0x00, 0x0101, &dstAddr, 0x00, TRUE );
if(ret == ZDP_SUCCESS )
{
LED = ~LED;
}
else{
LED =1;
}
i have send ZDP_BindReq( &dstAddr, 0x00, 0x00, 0x0101, &dstAddr, 0x00, TRUE ) to the End device for binding becoz i dont know end device PanID and Device ID.
result is .... still not get any response .... 4 to 5 days this is frustrating.....
here problem is yale lock zigbee say that send configuration request from controller(i.e coordinator)...so we dont have any destination add or pan add....so how this is possible.....
i dont have packet sniffer so i receive the end device frame and check whether it response right or not.........
please help me urgently.....
Thanks in Advance