mqtt on raspberry pi [message #1760472] |
Thu, 27 April 2017 10:58  |
Eclipse User |
|
|
|
Hi everyone, I'm new to 4diac and I want to use mqtt protocol on raspberry pi.
I follow the steps on the website but get confused with some points.
First, after I git-cloned the org.eclipse.paho.mqtt.c, it is said that I have to open the <paho src code>. However, under the src directory, there are no Makefile. The Makefile only exists in the paho.mqtt.c directory. Does this mean that I have to execute "make" in the paho.mqtt.c directory?
Second, it is said that I have to set FORTE_COM_PHAOMQTT folder in CMake. However, I am not sure which directory I should select. Currently, I select the path of paho.mqtt.c directory (i.e. /.../.../.../paho.mqtt.c), but when compiling, there are something wrong. It shows that libpaho-mqtt3a.so file is not recognized.


Any help appreciated. Thank you!
Attachment: mqtt-1.png
(Size: 45.47KB, Downloaded 508 times)
Attachment: mqtt-2.png
(Size: 20.01KB, Downloaded 455 times)
[Updated on: Thu, 27 April 2017 23:33] by Moderator
|
|
|
|
|
|
Re: mqtt on raspberry pi [message #1760644 is a reply to message #1760585] |
Sat, 29 April 2017 11:17  |
Eclipse User |
|
|
|
Hi,
glad you already solved the issue, with the support of the others.
I did a little writeup for all the needed steps for getting MQTT up and running on the Pi with FORTE.
Maybe someone else will stumble across this thread and finds it useful.
kind regards
Herwig
[Updated on: Sat, 29 April 2017 11:21] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.31999 seconds