This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am using the ANAREN AIR ZIGBEE ZNP module and I trying to bind a router to an end point sending a ZDO_BIND_REQ command from the coordinator.
The command runs sucessfully and when I read the binding table from the router I can see the line generated from the binding. The problem is that the 64bits destination IEEE address has 3 bytes changed. I have tried it several times and I always find the same bytes changed.
When I try to use the binding sending a message to 0xFFFE it does not work.
What I am missing?
Regards,
Hi YiKai,
Let me give a stepwise explanation of what I am doing:
My Router address is 277C - ieee 00 12 48 00 02 5d db 53
My EndDevice is EC2E - ieee 00 12 4b 00 02 5d db d1
From the router I send the following ZDO_BIND_REQ:
17 25 21 7C 27 53 DB 5D 02 00 4B 12 00 D7 07 00 03 D1 DB 5D 02 00 4B 12 00 D7
length - 17
zdo_bind_req - 25 21
dest_address - 7C 27
src_ieee - 53 DB 5D 02 00 4B 12 00
src_endpoint - D7
ClusterId - 07 00
DstAddrMode - 03
DstAddress - D1 DB 5D 02 00 4B 12 00
DstEndpoint - D7
The answer is success.
Following I issue a ZDO_MGMT_BIND_REQ to the 277C module and get the followint ZDO_MGMT_BIND_RSP:
1B 45 B3 7C 27 00 01 00 01 53 DB 5D 02 00 4B 12 00 D7 07 00 03 D1 DB 5D 30 00 00 12 00 D7
length 1B
command - 45 B3
SrcAddr - 7C 27
Status - 00 (Success)
BindTableEntries - 01
StartIndex - 00
BindTableListCount - 01
SrcAddr - 53 DB 5D 02 00 4B 12 00
SrcEndpoint - D7
ClusterId - 07 00
DstAddrMode - 03
DstAddr - D1 DB 5D 30 00 00 12 00 ****** here is the problem
DstEndPoint - D7
You see that 2 bytes from the DstAddr have changed.
I can´t figure out why this is happening.
Then I try to send a message to 0xFFFE and I receive an error.
Thanks,
From the coordinator I send:
03 25 33 7C 27 00
Length - 03
Command- 25 33
DstAddr - 7C 27
StartIndex - 00
Thanks for trying to help.
Unfortunately, I have tried to erase the binding table and bind again, I have even reprogrammed the modules inverting the router and the end point, but the error is always the same, those bytes keep changing.
Regards,
Rodrigo