@@ -129,7 +129,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
129
129
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
130
130
Protocols::SecureChannel::Id,
131
131
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
132
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_BARRIER_CONTROL_CLUSTER_ID);
132
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_BARRIER_CONTROL_CLUSTER_ID);
133
133
return ;
134
134
}
135
135
}
@@ -178,7 +178,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
178
178
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
179
179
Protocols::SecureChannel::Id,
180
180
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
181
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_BASIC_CLUSTER_ID);
181
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_BASIC_CLUSTER_ID);
182
182
return ;
183
183
}
184
184
}
@@ -369,7 +369,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
369
369
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
370
370
Protocols::SecureChannel::Id,
371
371
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
372
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_BINDING_CLUSTER_ID);
372
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_BINDING_CLUSTER_ID);
373
373
return ;
374
374
}
375
375
}
@@ -1460,7 +1460,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
1460
1460
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
1461
1461
Protocols::SecureChannel::Id,
1462
1462
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
1463
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_COLOR_CONTROL_CLUSTER_ID);
1463
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_COLOR_CONTROL_CLUSTER_ID);
1464
1464
return ;
1465
1465
}
1466
1466
}
@@ -1580,7 +1580,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
1580
1580
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
1581
1581
Protocols::SecureChannel::Id,
1582
1582
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
1583
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_DIAGNOSTIC_LOGS_CLUSTER_ID);
1583
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_DIAGNOSTIC_LOGS_CLUSTER_ID);
1584
1584
return ;
1585
1585
}
1586
1586
}
@@ -2987,7 +2987,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
2987
2987
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
2988
2988
Protocols::SecureChannel::Id,
2989
2989
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
2990
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_DOOR_LOCK_CLUSTER_ID);
2990
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_DOOR_LOCK_CLUSTER_ID);
2991
2991
return ;
2992
2992
}
2993
2993
}
@@ -3183,7 +3183,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
3183
3183
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
3184
3184
Protocols::SecureChannel::Id,
3185
3185
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
3186
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID);
3186
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_GENERAL_COMMISSIONING_CLUSTER_ID);
3187
3187
return ;
3188
3188
}
3189
3189
}
@@ -3549,7 +3549,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
3549
3549
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
3550
3550
Protocols::SecureChannel::Id,
3551
3551
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
3552
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_GROUPS_CLUSTER_ID);
3552
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_GROUPS_CLUSTER_ID);
3553
3553
return ;
3554
3554
}
3555
3555
}
@@ -3661,7 +3661,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
3661
3661
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
3662
3662
Protocols::SecureChannel::Id,
3663
3663
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
3664
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_IAS_ZONE_CLUSTER_ID);
3664
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_IAS_ZONE_CLUSTER_ID);
3665
3665
return ;
3666
3666
}
3667
3667
}
@@ -3775,7 +3775,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
3775
3775
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
3776
3776
Protocols::SecureChannel::Id,
3777
3777
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
3778
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_IDENTIFY_CLUSTER_ID);
3778
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_IDENTIFY_CLUSTER_ID);
3779
3779
return ;
3780
3780
}
3781
3781
}
@@ -4305,7 +4305,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
4305
4305
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
4306
4306
Protocols::SecureChannel::Id,
4307
4307
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
4308
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID);
4308
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_LEVEL_CONTROL_CLUSTER_ID);
4309
4309
return ;
4310
4310
}
4311
4311
}
@@ -4360,7 +4360,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
4360
4360
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
4361
4361
Protocols::SecureChannel::Id,
4362
4362
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
4363
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_LOW_POWER_CLUSTER_ID);
4363
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_LOW_POWER_CLUSTER_ID);
4364
4364
return ;
4365
4365
}
4366
4366
}
@@ -5049,7 +5049,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
5049
5049
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
5050
5050
Protocols::SecureChannel::Id,
5051
5051
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
5052
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID);
5052
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_NETWORK_COMMISSIONING_CLUSTER_ID);
5053
5053
return ;
5054
5054
}
5055
5055
}
@@ -5330,7 +5330,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
5330
5330
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
5331
5331
Protocols::SecureChannel::Id,
5332
5332
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
5333
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_OTA_PROVIDER_CLUSTER_ID);
5333
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_OTA_PROVIDER_CLUSTER_ID);
5334
5334
return ;
5335
5335
}
5336
5336
}
@@ -5397,7 +5397,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
5397
5397
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
5398
5398
Protocols::SecureChannel::Id,
5399
5399
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
5400
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_ON_OFF_CLUSTER_ID);
5400
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_ON_OFF_CLUSTER_ID);
5401
5401
return ;
5402
5402
}
5403
5403
}
@@ -5904,7 +5904,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
5904
5904
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
5905
5905
Protocols::SecureChannel::Id,
5906
5906
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
5907
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId,
5907
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId,
5908
5908
ZCL_OPERATIONAL_CREDENTIALS_CLUSTER_ID);
5909
5909
return ;
5910
5910
}
@@ -6406,7 +6406,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
6406
6406
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
6407
6407
Protocols::SecureChannel::Id,
6408
6408
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
6409
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_SCENES_CLUSTER_ID);
6409
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_SCENES_CLUSTER_ID);
6410
6410
return ;
6411
6411
}
6412
6412
}
@@ -6473,7 +6473,7 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
6473
6473
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
6474
6474
Protocols::SecureChannel::Id,
6475
6475
Protocols::InteractionModel::ProtocolCode::UnsupportedCommand);
6476
- ChipLogError (Zcl, " Unknown command %" PRIx8 " for cluster %" PRIx16 , aCommandId, ZCL_TEST_CLUSTER_ID);
6476
+ ChipLogError (Zcl, " Unknown command %" PRIx32 " for cluster %" PRIx32 , aCommandId, ZCL_TEST_CLUSTER_ID);
6477
6477
return ;
6478
6478
}
6479
6479
}
@@ -6501,8 +6501,8 @@ void DispatchServerCommand(app::Command * apCommandObj, CommandId aCommandId, En
6501
6501
void DispatchSingleClusterCommand (chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId,
6502
6502
chip::TLV::TLVReader & aReader, Command * apCommandObj)
6503
6503
{
6504
- ChipLogDetail (Zcl, " Received Cluster Command: Cluster=%" PRIx16 " Command=%" PRIx8 " Endpoint=%" PRIx8 , aClusterId, aCommandId ,
6505
- aEndPointId);
6504
+ ChipLogDetail (Zcl, " Received Cluster Command: Cluster=%" PRIx32 " Command=%" PRIx32 " Endpoint=%" PRIx16 , aClusterId,
6505
+ aCommandId, aEndPointId);
6506
6506
Compatibility::SetupEmberAfObjects (apCommandObj, aClusterId, aCommandId, aEndPointId);
6507
6507
TLV::TLVType dataTlvType;
6508
6508
SuccessOrExit (aReader.EnterContainer (dataTlvType));
@@ -6570,7 +6570,7 @@ void DispatchSingleClusterCommand(chip::ClusterId aClusterId, chip::CommandId aC
6570
6570
(chip::app::CommandPathFlags::kEndpointIdValid ) };
6571
6571
apCommandObj->AddStatusCode (returnStatusParam, Protocols::SecureChannel::GeneralStatusCode::kNotFound ,
6572
6572
Protocols::SecureChannel::Id, Protocols::InteractionModel::ProtocolCode::InvalidCommand);
6573
- ChipLogError (Zcl, " Unknown cluster %" PRIx16 , aClusterId);
6573
+ ChipLogError (Zcl, " Unknown cluster %" PRIx32 , aClusterId);
6574
6574
break ;
6575
6575
}
6576
6576
exit :
0 commit comments