zsmartsystems / com.zsmartsystems.zigbee

ZigBee Cluster Library Java framework supporting multiple dongles
Eclipse Public License 1.0
141 stars 87 forks source link

Add ability to keep MAC capabilities received via DeviceAnnounce #1349

Closed mikomarrache closed 1 year ago

mikomarrache commented 1 year ago

This change should not impact existing code.

It only consists of adding a new property at the ZigBeeNodelevel so that one can store MAC capabilities independently of the NodeDescriptor. In our case, we would like to save the MAC capabilities received in the DeviceAnnounce.

The various isXXXXXXmethods that depend on MAC capabilities will continue to behave as before the change, since the macCapabilities property will always be null for existing client code.

I also added a method (isReceiverOnWhenIdle).