The Paho MQTT Client library provides a "sensible" set of default values for any Connect Options that are not explicitly set by the user.
However, the elements of the PLCnext ConnectOptions struct are currently initialised using different values (zero for numeric elements and false for booleans).
The PLCnext ConnectOptions struct should initialise its elements to the same values as Paho.
The Paho MQTT Client library provides a "sensible" set of default values for any Connect Options that are not explicitly set by the user.
However, the elements of the PLCnext ConnectOptions struct are currently initialised using different values (zero for numeric elements and false for booleans).
The PLCnext ConnectOptions struct should initialise its elements to the same values as Paho.