Dear all,
I have been using MQTT2_CLIENT for while and noticed that the data traffic was higher than I expected. I then saw in the reference that MQTT_CLIENT2 will subscribe to all topics by default (which I then confirmed by looking at my Mosquitto broker logs). What should I do to make sure the MQTT2_CLIENT received no messages.
I found
attr mqtt_id subscriptions #
but I am not certain what to use instead of #
Thx
Did you have a look in commandref of MQTT2_CLIENT? (Hope there's more info n that).
Short unaproofed assumption: this seems to be "ordinary" mqtt language. So "#" stands for "everything". To restrict to a specific subtree, you might use sth. like "+/myhouse/#" or "myotherhouse/#"