Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] How to build Eclipse Paho MQTT project in C

Hi,


oh I see, this library is just for devices who are working with an OS. I will try the embeeded version of the paho library. Thank you!

I'm just wondering because I thought MQTT was designed for ressource limited devices... thus, I thought, every library would work with an microcontroller


Yes, I read that it is also possible to run MQTT with the lwIP and RTOS. MQTT is included in the lwIP library.

But It seems more complex as a beginner to work with an RTOS, thus I wanted to try a library which works without RTOS.


Do you know what the benefits of implementing MQTT together with an RTOS rather than using a "normal" library like paho are?


Vladi


Von: paho-dev-bounces@xxxxxxxxxxx <paho-dev-bounces@xxxxxxxxxxx> im Auftrag von Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx>
Gesendet: Mittwoch, 3. Juni 2020 19:28:58
An: paho-dev@xxxxxxxxxxx
Betreff: Re: [paho-dev] How to build Eclipse Paho MQTT project in C
 

Hi,


if you're not running Linux (or Windows or MacOS), that library is probably not going to work for you.   You will need something more skinny like: https://github.com/eclipse/paho.mqtt.embedded-c.   If you are running Linux, then the easiest way to build will be to clone with git, then use the supplied Makefile or use CMake.


If you're running FreeRTOS, I think that these days it comes with an MQTT client?


Ian


On 03/06/2020 16:23, Neufeld, Vladislav wrote:

Dear Ladies and Gents,


I'm working with the FT900 Microcontroller and I would like to import the MQTT Paho library into eclipse in order to let the microcontroller communicate via MQTT.

Here is the link where you can find the library: https://github.com/eclipse/paho.mqtt.c

I tried to create a new project and copy the "src" file into "lib" of the new project. Then I took one of the example applications into the "Sources" folder in eclipse but I could not build them.


Then I tried to download the C client for windows from this link: https://projects.eclipse.org/projects/iot.paho/downloads

Attached there is a picture of the folder. I tried to copy the files into a new ecplise project but again I could not build the example apllication.


Is it possible to use the Eclipse Paho MQTT library with the FT900 microcontroller?


Could you please help me how to import the library properly?


Best regards


Vladislav




_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/paho-dev

Back to the top