Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Options not sent with mosquitto_subscribe_v5 (v. 1.6.8)

The following code doesn't seem to be sending the requested option:

            retval = mosquitto_subscribe_v5(mosq, NULL, buf, 1, MQTT_SUB_OPT_NO_LOCAL, NULL);

I still get my own published messages received by this client. The log callback seems to show that the options are sent as 0x00:

Client mosq-evfqJnVOdLsQZ900sL sending SUBSCRIBE (Mid: 2, Topic: cmnd/office_heater/POWER, QoS: 1, Options: 0x00)

Am I doing something wrong, or is this a bug?


Back to the top