Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
ZAF_AssociationDataStore.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include <ZW_security_api.h>
Include dependency graph for ZAF_AssociationDataStore.h:

Go to the source code of this file.

Data Structures

struct  s_ZAF_ADS_SecurityHighestClass_t

Macros

#define ZAF_ADS_HEADER_SIZE   4
#define ZAF_ADS_ELEMENT_SIZE   20
#define ZAF_ADS_STORAGE_SIZE(num_elements)
#define ZAF_ADS_STORAGE(name, num_elements)

Typedefs

typedef void * ZAF_ADS_Handle_t

Enumerations

enum  e_ZAF_ADS_SecurityHighestClassState_t {
  SECURITY_HIGHEST_CLASS_NOT_DISCOVERED ,
  SECURITY_HIGHEST_CLASS_DISCOVERED_NOT_GRANTED_TO_ME ,
  SECURITY_HIGHEST_CLASS_DISCOVERED
}
enum  e_ZAF_ADS_CC_Capability_t {
  CC_CAPABILITY_NOT_DISCOVERED ,
  CC_CAPABILITY_SUPPORTED ,
  CC_CAPABILITY_NOT_SUPPORTED
}
enum  e_ZAF_ADS_CommandClass_t {
  ZAF_ADS_CC_SUPERVISION ,
  ZAF_ADS_CC_MULTI_COMMAND ,
  ZAF_ADS_MAX_CC
}

Functions

ZAF_ADS_Handle_t ZAF_ADS_Init (void *pStorage, uint8_t MaxNodeCount)
bool ZAF_ADS_Delete (ZAF_ADS_Handle_t handle, uint8_t NodeID)
e_ZAF_ADS_SecurityHighestClassState_t ZAF_ADS_GetNodeHighestSecurityClass (ZAF_ADS_Handle_t handle, uint8_t NodeID, security_key_t *pHighestClass)
bool ZAF_ADS_SetNodeHighestSecurityClass (ZAF_ADS_Handle_t handle, uint8_t NodeID, security_key_t HighestClass)
e_ZAF_ADS_CC_Capability_t ZAF_ADS_IsNodeSupportingCC (ZAF_ADS_Handle_t handle, uint8_t NodeID, e_ZAF_ADS_CommandClass_t commandClass)
bool ZAF_ADS_SetNodeIsSupportingCC (ZAF_ADS_Handle_t handle, uint8_t NodeID, e_ZAF_ADS_CommandClass_t commandClass, e_ZAF_ADS_CC_Capability_t CC_Capability)

Detailed Description

Stores association data discovered by the Security Discovery module.

It stores the following for any given node discovered:

  • Support for CC Supervision
  • Support for CC Multicommand
  • Highest security class