Improvement #300

ZigBeeDeviceImpl should check the endpoint of the returned SimpleDescriptor

Added by Philipp Buluschek over 3 years ago.

Status:New Start date:02/10/2015
Priority:Normal Due date:
Assignee:- % Done:


Category:- Spent time: -
Target version:-
Has a patch:No Has license agreement signed:No


When a SimpleDescriptor is requested in the constructor of ZigBeeDeviceImpl, there is no check whether the returned response is from the requested end-point.
With sleepy devices, it may happen that a previous request was sent to another endpoint, but got no answer in time, so switched to the next endpoint. Now the answer to the first request still arrives and is mistaken for the answer to the second request.

In order to avoid this, the ZigBeeDeviceImpl should check the returned SimpleDescriptor's end-point against the one it requested.

Also available in: Atom PDF