eclipse-paho / paho.mqtt.embedded-c

Paho MQTT C client library for embedded systems. Paho is an Eclipse IoT project (https://iot.eclipse.org/)
https://eclipse.org/paho
Other
1.37k stars 757 forks source link

Could not receive QOS1 message at my broker debug terminal #263

Open Manfred-O opened 1 month ago

Manfred-O commented 1 month ago

Hi, for my application i want to have MQTT on QOS1. But have some strange terminal outputs at my broker side. Got "qos":0??? here my broker terminal output --> {"tst":"2024-10-14T11:59:24.523173Z+0000","topic":"info","qos":0,"retain":0,"payloadlen":7,"payload":"hfhgfhj"}

although i do set the QOS1 correctly in my firmware. message.payload = (void*)msg->payload; message.payloadlen = msg->payloadlen; message.qos = QOS1; message.retained = 0;

Need some help and clarification, thanks in advance.