src/controller/python/chip/clusters/CHIPClusters.cpp
// End of Cluster GroupKeyManagement
// Cluster Groups
End of Cluster GroupKeyManagement
Cluster Groups
End of Cluster GroupKeyManagement Cluster Groups
chip::ChipError::StorageType chip_ime_AppendCommand_Groups_AddGroup(chip::Controller::Device * device,
                                                                    chip::EndpointId ZCLendpointId, chip::GroupId, uint16_t groupId,
                                                                    const uint8_t * groupName, uint32_t groupName_Len)
{
    VerifyOrReturnError(device != nullptr, CHIP_ERROR_INVALID_ARGUMENT.AsInteger());
    chip::Controller::GroupsCluster cluster;
    cluster.Associate(device, ZCLendpointId);
    return cluster.AddGroup(nullptr, nullptr, groupId, chip::ByteSpan(groupName, groupName_Len)).AsInteger();
}
chip :: ChipError :: StorageType chip_ime_AppendCommand_Groups_AddGroup ( chip :: Controller :: Device * device , chip :: EndpointId ZCLendpointId , chip :: GroupId , uint16_t groupId , const uint8_t * groupName , uint32_t groupName_Len ) { VerifyOrReturnError ( device != nullptr , CHIP_ERROR_INVALID_ARGUMENT . AsInteger ( ) ) ; chip :: Controller :: GroupsCluster cluster ; cluster . Associate ( device , ZCLendpointId ) ; return cluster . AddGroup ( nullptr , nullptr , groupId , chip :: ByteSpan ( groupName , groupName_Len ) ) . AsInteger ( ) ; }
End of Cluster GroupKeyManagement
Cluster Groups
End of Cluster GroupKeyManagement Cluster Groups