microdds_client: fix -l flag and add -c for custom participant configuration

Allows to use a custom FastDDS configuration on the Agent side.
This commit is contained in:
Beat Küng
2023-02-06 08:27:46 +01:00
committed by Daniel Agar
parent 98263de17b
commit 06dfd1726f
2 changed files with 23 additions and 7 deletions
@@ -49,7 +49,7 @@ public:
};
MicroddsClient(Transport transport, const char *device, int baudrate, const char *host, const char *port,
bool localhost_only, const char *client_namespace);
bool localhost_only, bool custom_participant, const char *client_namespace);
~MicroddsClient();
@@ -75,6 +75,7 @@ private:
int setBaudrate(int fd, unsigned baud);
const bool _localhost_only;
const bool _custom_participant;
const char *_client_namespace;
SendTopicsSubs *_subs{nullptr};