Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » How to install Paho ?(I have found it on GIT but how to add it to eclipse ?)
How to install Paho ? [message #929443] Mon, 01 October 2012 13:11 Go to next message
Gary B is currently offline Gary BFriend
Messages: 4
Registered: September 2012
Junior Member
Hi,

I have found files on PAHO, on GIT and I have Eclipse Juno C++, installed on my PC.

I thought I would add it via the menu "Install new software" but cannot find it on there ?

Can you please give me instructions on how to install PAHO ?

Regards

Gar
Re: How to install Paho ? [message #929456 is a reply to message #929443] Mon, 01 October 2012 13:22 Go to previous messageGo to next message
Eclipse UserFriend
ATM there is nothing to *install* relating to paho. You can just clone the client code (C or Java) and the sample code (also in the git repo) as projects and use them in your apps.
Re: How to install Paho ? [message #929466 is a reply to message #929456] Mon, 01 October 2012 13:30 Go to previous messageGo to next message
Gary B is currently offline Gary BFriend
Messages: 4
Registered: September 2012
Junior Member
Hi,

Thanks for that, I do understand that its in incubator stage at the moment, any idea when an IDE FOR Paho will be available ?

As i saw it used on the recent online webinar.

Regards

Gary
Re: How to install Paho ? [message #929472 is a reply to message #929466] Mon, 01 October 2012 13:39 Go to previous messageGo to next message
Eclipse UserFriend
No I don't have any idea. I also saw the stuff in the webinar but I'm not sure when or if they will be available. On the other hand I have built a client using e4 which is waiting to be looked at by paho guys and is free and opensource (EPL). You can check it out here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=390130
Re: How to install Paho ? [message #930642 is a reply to message #929472] Tue, 02 October 2012 14:04 Go to previous messageGo to next message
Andy Piper is currently offline Andy PiperFriend
Messages: 17
Registered: November 2011
Location: Kingston upon Thames, UK
Junior Member

Hi

Thanks for these questions.

We'll have an initial binary build of the Paho Jar available within days.

Right now, an initial build of Paho including the Eclipse View for testing is planned for 4Q - our project plan is available on our wiki

Other simulators including the one from Sopot and a contribution known as MqGnatt from Arlen Nipper are under consideration for the later milestones.

The "IDE for Paho" will be bundled as part of the forthcoming M2M EPP which we hope to deliver in 2013.

Does that help? let us know if you have any specific ideas or requirements.

Andy


Developer Advocate | Eclipse Paho project | mqtt.org | andypiper.me
Re: How to install Paho ? [message #932173 is a reply to message #929443] Wed, 03 October 2012 22:40 Go to previous messageGo to next message
Dave Locke is currently offline Dave LockeFriend
Messages: 2
Registered: October 2012
Junior Member
A pre-build jar file for the MQTT Java client has now been made available on the Paho download page here: http://www.eclipse.org/paho/documentation.php

Re the Eclipse MQTT GUI View, it is available in an Eclipse git repository and there are instructions for loading it into Eclipse on the wiki here: http://wiki.eclipse.org/Paho - "A quick start guide to the eclipse paho plugin"

Hope this helps
Dave
Re: How to install Paho ? [message #1234663 is a reply to message #929443] Wed, 22 January 2014 14:06 Go to previous messageGo to next message
oskar jazdowski is currently offline oskar jazdowskiFriend
Messages: 3
Registered: January 2014
Junior Member
Hello there,

The company I work for has an MQTT server using mosquitto as the broker.
They have tasked me with implementing an MQTT client to talk to their MQTT server.

I consider myself competent enough to achieve this,though the nature of my work has never included porting libraries or third part software, so please excuse my ignorance. Also, I am running windows and having never used Linux so I have struggled with the Linux-centric online tutorials/documentation.

I am developing my application in C, using IAR embedded workbench as my IDE.

I downloaded the latest version ( v??? / Data: 2013-12-18) of Paho from:
http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.c.git/commit/

My question is:
What steps do I need to take to add Paho to my project?

Instead of offering an answer to my own question as a gesture towards you all, I think I'll just leave the question open, if I may.

many Thanks,
Oskar J
Re: How to install Paho ? [message #1234692 is a reply to message #1234663] Wed, 22 January 2014 15:41 Go to previous messageGo to next message
Andy Piper is currently offline Andy PiperFriend
Messages: 17
Registered: November 2011
Location: Kingston upon Thames, UK
Junior Member

Hi Oskar

Thanks for the thoughtful question.

You're right that the tutorials have been rather Linux-centric, apologies for that. This post http://unimatrixseven.blogspot.co.uk/2012/03/compiling-eclipse-paho-mqtt-c-client-in.html is a little old, but it describes the general process for building Paho on Windows using Visual Studio. The latest version in the repository includes a Visual Studio solution file which should "just work" in terms of building the libraries.

Once you've done that, you'll end up with a number of DLLs / shared libraries which you can use in your application. There are some sample programs included in Git http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.c.git/tree/src/samples which should help you to understand the API, and there is documentation available online too http://www.eclipse.org/paho/files/mqttdoc/Cclient/

I hope that helps - let us know how you get on.

Andy


Developer Advocate | Eclipse Paho project | mqtt.org | andypiper.me
Re: How to install Paho ? [message #1234725 is a reply to message #1234692] Wed, 22 January 2014 17:07 Go to previous messageGo to next message
oskar jazdowski is currently offline oskar jazdowskiFriend
Messages: 3
Registered: January 2014
Junior Member
Hi Andy,

Great to hear from you and thanks for the prompt reply! As you suggested, it "just worked" and I have successfully generated the .dll files. The accompanying examples seem suitably descriptive and I'm really quite excited to implement the Paho client.

I'll update the thread with my successes.

Many Thanks,
Oskar
Re: How to install Paho ? [message #1234998 is a reply to message #1234725] Thu, 23 January 2014 10:03 Go to previous message
oskar jazdowski is currently offline oskar jazdowskiFriend
Messages: 3
Registered: January 2014
Junior Member
Morning Andy,

As mentioned I have successfully compiled the Paho C Client libraries in Windows and generated the .lib and .dll files.

What I failed to clarify in my last post is that my target platform is an ARM Cortex M4 microcontroller, programmed in C and compiled in IAR Electronics Workbench ( EWARM ).

My ultimate query is how do i port a Paho client over to my ARM?

This is a biggie, I know...and apologies if its outside the scope of this forum.

I'm not asking how to suck eggs, as they say ( haha ), but are there any provisions/tools/resources available to achieve this? If not, any suggestions?

Any lightweight implementation would suffice.

Many thanks,

Oskar

A
Previous Topic:Single threaded MQTT 'C' client
Next Topic:MQTT connection threads are getting hanged.
Goto Forum:
  


Current Time: Thu Mar 28 10:54:43 GMT 2024

Powered by FUDForum. Page generated in 0.03780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top