Struct used to find an attribute in storage. Together the elements in this search record constitute the "primary key" used to identify a unique attribute value in attribute storage.

#include < af-types.h >

Data Fields

uint8_t endpoint
EmberAfClusterId clusterId
EmberAfClusterMask clusterMask
EmberAfAttributeId attributeId
uint16_t manufacturerCode

Struct used to find an attribute in storage. Together the elements in this search record constitute the "primary key" used to identify a unique attribute value in attribute storage.

Field Documentation

EmberAfAttributeId EmberAfAttributeSearchRecord::attributeId

The two byte identifier for the attribute. If the cluster id is inside the manufacturer specific range 0xfc00 - 0xffff, or the manufacturer code is NOT 0, the attribute is assumed to be manufacturer specific.

EmberAfClusterId EmberAfAttributeSearchRecord::clusterId

Cluster that the attribute is located on. If the cluster id is inside the manufacturer specific range, 0xfc00 - 0xffff, The manufacturer code should also be set to the code associated with the manufacturer specific cluster.

EmberAfClusterMask EmberAfAttributeSearchRecord::clusterMask

Cluster mask for the cluster, used to determine if it is the server or client version of the cluster. See CLUSTER_MASK_ macros defined in att-storage.h

uint8_t EmberAfAttributeSearchRecord::endpoint

Endpoint that the attribute is located on

uint16_t EmberAfAttributeSearchRecord::manufacturerCode

Manufacturer Code associated with the cluster and or attribute. If the cluster id is inside the manufacturer specific range, this value should indicate the manufacturer code for the manufacturer specific cluster. Otherwise if this value is non zero, and the cluster id is a standard ZCL cluster, it is assumed that the attribute being sought is a manufacturer specific extension to the standard ZCL cluster indicated by the cluster id.


The documentation for this struct was generated from the following file:
  • af-types.h