92
92
* @return Returns pointer to the attribute metadata location.
93
93
*/
94
94
EmberAfAttributeMetadata * emberAfLocateAttributeMetadata (chip ::EndpointId endpoint , chip ::ClusterId clusterId ,
95
- chip ::AttributeId attributeId , uint8_t mask , uint16_t manufacturerCode ) ;
95
+ chip ::AttributeId attributeId , uint8_t mask ) ;
96
96
97
97
#ifdef DOXYGEN_SHOULD_SKIP_THIS
98
98
/** @brief Returns true if the attribute exists. */
99
- bool emberAfContainsAttribute (chip ::EndpointId endpoint , chip ::ClusterId clusterId , chip ::AttributeId attributeId , uint8_t mask ,
100
- uint16_t manufacturerCode );
99
+ bool emberAfContainsAttribute (chip ::EndpointId endpoint , chip ::ClusterId clusterId , chip ::AttributeId attributeId , uint8_t mask );
101
100
#else
102
- #define emberAfContainsAttribute (endpoint , clusterId , attributeId , mask , manufacturerCode ) \
103
- (emberAfLocateAttributeMetadata(endpoint, clusterId, attributeId, mask, manufacturerCode ) != NULL)
101
+ #define emberAfContainsAttribute (endpoint , clusterId , attributeId , mask ) \
102
+ (emberAfLocateAttributeMetadata(endpoint, clusterId, attributeId, mask) != NULL)
104
103
#endif
105
104
106
- /**
107
- * @brief Returns true if endpoint contains a cluster, checking for mfg code.
108
- *
109
- * This function returns true regardless of whether
110
- * the endpoint contains server, client or both.
111
- * For standard libraries (when ClusterId < FC00),
112
- * the manufacturerCode is ignored.
113
- */
114
- bool emberAfContainsClusterWithMfgCode (chip ::EndpointId endpoint , chip ::ClusterId clusterId , uint16_t manufacturerCode );
115
-
116
105
/**
117
106
* @brief Returns true if endpoint contains the ZCL cluster with specified id.
118
107
*
119
108
* This function returns true regardless of whether
120
109
* the endpoint contains server, client or both in the Zigbee cluster Library.
121
- * This wraps emberAfContainsClusterWithMfgCode with
122
- * manufacturerCode = EMBER_AF_NULL_MANUFACTURER_CODE
123
- * If this function is used with a manufacturer specific clusterId
124
- * then this will return the first cluster that it finds in the Cluster table.
125
- * and will not return any other clusters that share that id.
126
110
*/
127
111
bool emberAfContainsCluster (chip ::EndpointId endpoint , chip ::ClusterId clusterId );
128
112
129
- /**
130
- * @brief Returns true if endpoint has cluster server, checking for mfg code.
131
- *
132
- * This function returns true if
133
- * the endpoint contains server of a given cluster.
134
- * For standard librarys (when ClusterId < FC00), the manufacturerCode is ignored.
135
- */
136
- bool emberAfContainsServerWithMfgCode (chip ::EndpointId endpoint , chip ::ClusterId clusterId , uint16_t manufacturerCode );
137
-
138
113
/**
139
114
* @brief Returns true if endpoint contains the ZCL server with specified id.
140
115
*
141
116
* This function returns true if
142
117
* the endpoint contains server of a given cluster.
143
- * This wraps emberAfContainsServer with
144
- * manufacturerCode = EMBER_AF_NULL_MANUFACTURER_CODE
145
- * If this function is used with a manufacturer specific clusterId
146
- * then this will return the first cluster that it finds in the Cluster table.
147
- * and will not return any other clusters that share that id.
148
118
*/
149
119
bool emberAfContainsServer (chip ::EndpointId endpoint , chip ::ClusterId clusterId );
150
120
@@ -159,26 +129,11 @@ bool emberAfContainsServer(chip::EndpointId endpoint, chip::ClusterId clusterId)
159
129
*/
160
130
bool emberAfContainsServerFromIndex (uint16_t index , chip ::ClusterId clusterId );
161
131
162
- /**
163
- * @brief Returns true if endpoint contains cluster client.
164
- *
165
- * This function returns true if
166
- * the endpoint contains client of a given cluster.
167
- * For standard library clusters (when ClusterId < FC00),
168
- * the manufacturerCode is ignored.
169
- */
170
- bool emberAfContainsClientWithMfgCode (chip ::EndpointId endpoint , chip ::ClusterId clusterId , uint16_t manufacturerCode );
171
-
172
132
/**
173
133
* @brief Returns true if endpoint contains the ZCL client with specified id.
174
134
*
175
135
* This function returns true if
176
136
* the endpoint contains client of a given cluster.
177
- * This wraps emberAfContainsClient with
178
- * manufacturerCode = EMBER_AF_NULL_MANUFACTURER_CODE
179
- * If this function is used with a manufacturer specific clusterId
180
- * then this will return the first cluster that it finds in the Cluster table.
181
- * and will not return any other clusters that share that id.
182
137
*/
183
138
bool emberAfContainsClient (chip ::EndpointId endpoint , chip ::ClusterId clusterId );
184
139
0 commit comments