Ian Craggs

Results 432 comments of Ian Craggs

No there is currently no way to do this. This is because with MQTT version 3, there was no way to associate an incoming message with a specific subscription, only...

You can use a client constructor which takes a persistence implementation as a parameter. The default file persistence implementation takes a directory as a parameter. If you don't need disk...

Unfortunately no-one has raised the issue before since 2017 when it was created. To make the change you suggest now would be an interface change - application programs which used...

Do you know how to do it, so can you provide the instructions yourself?

Some observations: - the automatic reconnect interval will double on each failed reconnect attempt up to the max reconnect interval, which is 60s by default - the logs don't show...

I think the socket error is likely to mean that Azure is closing the connection. This library should then go into retry state. But if it's going to be a...

Your second trace showed the problem, thanks. 20220414 150103.177 (547356638768) (5)< MQTTAsync_addCommand:913 (-18) A bad return code when trying to add a connect command. I've added a fix which should...

It's probably better to ask this question in a CMake support forum. You should make sure you are using the right library - libpaho-mqtt3a is the async library (MQTTAsync) whereas...

I don't think it's reading single chars from the socket. It is waiting in getch() for the first byte in the MQTT packet, then reading in the remaining length field...