Hi, when I run the MQTT sample as is, I'm having problems with the TLS and port configuration. The terminal output is:
[00:01:33.046,783] <inf> transport: Connected to MQTT broker [00:01:33.046,813] <inf> transport: Hostname: test.mosquitto.org [00:01:33.046,875] <inf> transport: Client ID: 358299840022756 [00:01:33.046,875] <inf> transport: Port: 1883 [00:01:33.046,905] <inf> transport: TLS: No [00:01:33.046,966] <inf> transport: Subscribing to: 358299840022756/my/subscribe/topic [00:01:33.175,445] <inf> transport: Subscribed to topic 358299840022756/my/subscribe/topic
That looks correct, but on closer inspection the port is set to 1883 and TLS is turned off - neither of these are expected. I cannot see anywhere in the code where they're configured to those values; all I can find is CONFIG_MQTT_HELPER_PORT=8884 and CONFIG_MQTT_LIB_TLS=y (these appear in the logging function calls that output the above).
Any help or ideas would be much appreciated.