Small utility allowing to process keyset structures.
More...
Small utility allowing to process keyset structures.
This utility is used to retrieve the list of keys that is granted to the ZPC or any node in the network. It can also convert a keyset to the corresponding highest encapsulation scheme that can be used for a transmission.
◆ zwave_controller_encapsulation_scheme_greater_equal()
Function to tell whether scheme k is greater or equal to scheme v.
- Parameters
-
- Returns
- bool True if k is greater or equal to v; otherwise false
◆ zwave_controller_get_highest_encapsulation()
Get the hight encapsulation supported by a given key set.
- Parameters
-
- Returns
- zwave_controller_encapsulation_scheme_t value representing the highest granted key. Note that ZWAVE_CONTROLLER_ENCAPSULATION_NETWORK_SCHEME will not be returned.
◆ zwave_controller_get_key_from_encapsulation()
Get the Z-Wave Key used for a given encapsulation.
- Parameters
-
- Returns
- zwave_keyset_t with only 1 key.