Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] MQTT with SSL


I've built the static libraries using the instructions in the README as follows:

Created a directory outside of the git repo called pahoMQTT

Inside the new directory I called:

Build files were created fine; I grep'ed for OPENSSL and saw that it was being defined in the .make files

Ran make which created the libraries.

In my program, when I call MQTTClient_create pointing to an ssl:// URI it returns -14 (MQTTCLIENT_BAD_PROTOCOL). So I looked this up in the src files and it looks it would only return that if either the URI doesn't have ssl in it or if OPENSSL is not defined.

Am I missing something else when I either create the libraries or compile my program?



Back to the top