Skip to content

Commit 3c9af2d

Browse files
authored
Add participant name (#285)
Signed-off-by: jparisu <javierparis@eprosima.com> Signed-off-by: jparisu <javierparis@eprosima.com>
1 parent 3578b62 commit 3c9af2d

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

ddsrouter_core/src/cpp/participant/implementations/rtps/CommonParticipant.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ CommonParticipant::participant_attributes_(
263263
const configuration::ParticipantConfiguration* participant_configuration)
264264
{
265265
fastrtps::rtps::RTPSParticipantAttributes params;
266+
267+
// Add Participant name
268+
params.setName(participant_configuration->id.id_name().c_str());
269+
266270
return params;
267271
}
268272

docs/rst/notes/forthcoming_version.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Next release will include the following **Fast DDS features**:
1717

1818
* New :term:`Initial Peers` Participant that allows to create a fast WAN communication
1919
avoiding the Discovery Server configuration.
20+
* Participants names are set from ParticipantIds.
2021

2122
Next release will include the following **configuration changes**:
2223

0 commit comments

Comments
 (0)