Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK
Hi.
I have 4 routers and 1 coordinator to test. I am sending the NLME_LEAVE_REQUEST to the "router 1" and it is leaving form the network.
Again it will connect with the same network if there is no other coordinator to join.
After joining, I am sending the Leave_Request to the "router 1" and it's leaving the joins into the network. This steps remains same for all the routers.
But router is not leaving the network If I am sending the leave_request continuously after joining the router into the network. I am getting error as INVALID_REQUEST.
The error is
<TX>11:31:56.29 COM9 NLME_LEAVE_REQUEST (0x2305)
DeviceAddress: 0x00124B0009E9A4C1
RemoveChildren: TRUE (0x1)
Reassociate: FALSE (0x0)
<RX>11:31:56.3 COM9 NLME_LEAVE_RESPONSE (0x6305)
Status: ZNWK_INVALID_REQUEST (0xC2)
For the first two times I am not facing this issue. If I am sending continuously means this error occurs. But I am getting ON/OFF status.
Is there any problem with stack, because after 2 or 3 times of sending LEAVE_REQUEST, I am getting this error.
I have list in cloud so that the devices in the list only will be present in the network. Other devices will be asked to leave by sending NLME_LEAVE_REQUEST. So the devices which is not in the list will receive Leave request. Because of the above issue, it is not leaving the network and While doing ON/OFF the router I am getting 00:00:00:00..... as MAC.
In Z-tool also the response is same.
How to fix this...