diff --git a/iceoryx_examples/icediscovery_in_c/README.md b/iceoryx_examples/icediscovery_in_c/README.md index 0bb0e662b59..153075c7a28 100644 --- a/iceoryx_examples/icediscovery_in_c/README.md +++ b/iceoryx_examples/icediscovery_in_c/README.md @@ -42,10 +42,10 @@ We can now call three different find service functions. Let's start with ```c iox_service_discovery_find_service_apply_callable( - serviceDiscovery, "Radar", "FrontLeft", "Image", printSearchResult, MessagingPattern_PUB_SUB); + serviceDiscovery, "Radar", "FrontLeft", "Objects", printSearchResult, MessagingPattern_PUB_SUB); ``` -which searches for all `{Radar, FrontLeft, Image}` services offered by +which searches for all `{Radar, FrontLeft, Objects}` services offered by publishers and applies the provided function `printSearchResult` on each of them. The function must have the signature `void(const iox_service_description_t)`. Here we pass a function that prints the diff --git a/iceoryx_examples/icediscovery_in_c/iox_c_find_service.c b/iceoryx_examples/icediscovery_in_c/iox_c_find_service.c index d58b7d71034..a4dd0fd854b 100644 --- a/iceoryx_examples/icediscovery_in_c/iox_c_find_service.c +++ b/iceoryx_examples/icediscovery_in_c/iox_c_find_service.c @@ -84,10 +84,10 @@ int main() printf("\n=========================================\n"); - printf("\nSearched for {'Radar', 'FrontLeft', 'Image'}. Found the following services:\n"); + printf("\nSearched for {'Radar', 'FrontLeft', 'Objects'}. Found the following services:\n"); //! [find service and apply callable] iox_service_discovery_find_service_apply_callable( - serviceDiscovery, "Radar", "FrontLeft", "Image", printSearchResult, MessagingPattern_PUB_SUB); + serviceDiscovery, "Radar", "FrontLeft", "Objects", printSearchResult, MessagingPattern_PUB_SUB); //! [find service and apply callable] printf("\nSearched for {'Radar', *, *}. Found the following services:\n"); diff --git a/iceoryx_examples/icediscovery_in_c/iox_c_offer_service.c b/iceoryx_examples/icediscovery_in_c/iox_c_offer_service.c index dfb79feedb5..ae9e06e82d2 100644 --- a/iceoryx_examples/icediscovery_in_c/iox_c_offer_service.c +++ b/iceoryx_examples/icediscovery_in_c/iox_c_offer_service.c @@ -45,8 +45,8 @@ int main() iox_pub_storage_t publisherStorage; iox_pub_options_t options; iox_pub_options_init(&options); - iox_pub_t radarLeft = iox_pub_init(&publisherStorage, "Radar", "FrontLeft", "Image", &options); - iox_pub_t radarRight = iox_pub_init(&publisherStorage, "Radar", "FrontRight", "Image", &options); + iox_pub_t radarLeft = iox_pub_init(&publisherStorage, "Radar", "FrontLeft", "Objects", &options); + iox_pub_t radarRight = iox_pub_init(&publisherStorage, "Radar", "FrontRight", "Objects", &options); iox_pub_t lidarLeft = iox_pub_init(&publisherStorage, "Lidar", "FrontLeft", "Counter", &options); iox_pub_storage_t cameraPublisherStorage[NUMBER_OF_CAMERA_PUBLISHERS];