Hi,
@McMelloW wrote.
Thanks for this update. To be sure, is this my current mosquitto version?
If you execute the commands @waaren proposed you will see that:
Code: Select all
pi@RPi1:~ $ mosquitto -h | grep version
mosquitto version 1.5.7
pi@RPi1:~ $ mosquitto_sub --help | grep version | grep mosquitto_
mosquitto_sub version 1.5.7 running on libmosquitto 1.5.7.
pi@RPi1:~ $ mosquitto_pub --help | grep version | grep mosquitto_
mosquitto_pub version 1.5.7 running on libmosquitto 1.5.7.
pi@RPi1:~ $
If you prefer to use a graphical environment, you will see it also under $SYS topic.
- Screenshot_MQTT-SYS.png (43.49 KiB) Viewed 6986 times
The intention of the initial post was not to encourage users to upgrade, but to inform the users, that if they upgrade, either by purpose or accidentally, there are breaking changes, you should be aware of. As long as you use version 1.x.x and it works as expected, there is no reason to modify the mosquitto.conf files. There is no such as a fix or whatever, because there is nothing to fix.
As far as I know, version 1.5.7 is the latest version in the 1.x.x. series.
I do not expect, that in case of an upgrade to version 2.x.x it will break clients, but you should be aware that you have to create a mosquitto.conf file and probably have to modify an existing one.
Special attention for:
Change default listener from port 1883 to listener 1883(if you have in your conf file a line "port 1883")
Include allow_anonymous true (If you want that anonymous clients can connect. it defaults to false)
Regards