@@ -202,7 +202,7 @@ void ChefBindingHandler::BoundDeviceChangedHandler(const EmberBindingTableEntry
202
202
203
203
printf (" \033 [41m %s, %d \033 [0m \n " , __func__, __LINE__);
204
204
205
- if (bindingEntry.type == EMBER_MULTICAST_BINDING && data->IsGroup )
205
+ if (bindingEntry.type == MATTER_MULTICAST_BINDING && data->IsGroup )
206
206
{
207
207
switch (data->ClusterId )
208
208
{
@@ -217,7 +217,7 @@ printf("\033[41m %s, %d \033[0m \n", __func__, __LINE__);
217
217
break ;
218
218
}
219
219
}
220
- else if (bindingEntry.type == EMBER_UNICAST_BINDING && !data->IsGroup )
220
+ else if (bindingEntry.type == MATTER_UNICAST_BINDING && !data->IsGroup )
221
221
{
222
222
switch (data->ClusterId )
223
223
{
@@ -249,7 +249,6 @@ void ChefBindingHandler::InitInternal(intptr_t aArg)
249
249
ChipLogProgress (NotSpecified, " ChefBindingHandler Inited" );
250
250
return ;
251
251
}
252
- // Erwin: TBD aArg is endpoint
253
252
ChipLogProgress (NotSpecified, " Initialize binding Handler, endpoint=%d" , static_cast <uint8_t >(aArg));
254
253
255
254
auto & server = Server::GetInstance ();
@@ -273,7 +272,7 @@ bool ChefBindingHandler::IsGroupBound()
273
272
274
273
for (auto & entry : bindingTable)
275
274
{
276
- if (EMBER_MULTICAST_BINDING == entry.type )
275
+ if (MATTER_MULTICAST_BINDING == entry.type )
277
276
{
278
277
return true ;
279
278
}
@@ -291,7 +290,7 @@ void ChefBindingHandler::PrintBindingTable()
291
290
{
292
291
switch (entry.type )
293
292
{
294
- case EMBER_UNICAST_BINDING :
293
+ case MATTER_UNICAST_BINDING :
295
294
ChipLogProgress (NotSpecified, " [%d] UNICAST:" , i++);
296
295
ChipLogProgress (NotSpecified, " \t\t + Fabric: %d\n \
297
296
\t + LocalEndpoint %d \n \
@@ -301,15 +300,15 @@ void ChefBindingHandler::PrintBindingTable()
301
300
(int ) entry.fabricIndex , (int ) entry.local , (int ) entry.clusterId .Value (), (int ) entry.remote ,
302
301
(int ) entry.nodeId );
303
302
break ;
304
- case EMBER_MULTICAST_BINDING :
303
+ case MATTER_MULTICAST_BINDING :
305
304
ChipLogProgress (NotSpecified, " [%d] GROUP:" , i++);
306
305
ChipLogProgress (NotSpecified, " \t\t + Fabric: %d\n \
307
306
\t + LocalEndpoint %d \n \
308
307
\t + RemoteEndpointId %d \n \
309
308
\t + GroupId %d" ,
310
309
(int ) entry.fabricIndex , (int ) entry.local , (int ) entry.remote , (int ) entry.groupId );
311
310
break ;
312
- case EMBER_UNUSED_BINDING :
311
+ case MATTER_UNUSED_BINDING :
313
312
ChipLogProgress (NotSpecified, " [%d] UNUSED" , i++);
314
313
break ;
315
314
default :
0 commit comments