[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [paho-dev] get connect_options from async_client
|
OK, that's what I thought. It doesn't look like there's anything
there at this point, but it would obviously be trivial to add a
get'er function to return a (const) reference to the private member.
Why don't you open an issue on the GitHub repo, so I don't forget
about it, and I'll get it into the next release.
https://github.com/eclipse/paho.mqtt.cpp/issues
- Frank
On 1/10/24 09:29, Gary Metalle wrote:
Hi
Paho
mqtt cpp (I’m using async)
Gary.
Hi
Is there no way to get hold of the
connect_options from the mqtt client?
When connect is called, one flavour of
the function takes an instance of connect_options and it
looks like async_client stores this in a private member
variable (connOpts_).
It would be good to access this
information (read only) at some time after connect to find
out things like the mqtt version and whether automatic
reconnect is enabled etc for the active connection. Also
things like the SSL settings and LWT.
Gary Metalle
Senior Embedded Software Engineer
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/paho-dev