[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] MQTT C++ Client options

This warning is best ignored with -Wno-unused-parameter and rarely signifies a code quality issue.  This is because it is common for an API to define an interface where some implementations will use all parameters and others will not.  Unused local variable is different, even though compilers today will compile them out.

Daniel


On 10/25/2018 01:26 AM, Kumar, Pankaj wrote:

Frank,

 

During compilation, I observed there are a lot of warnings (unused parameter etc.). To use it in production, can it be cleaned/fixed ?

 

Regard

Pankaj

 

From: Kumar, Pankaj
Sent: Wednesday, October 24, 2018 6:04 PM
To: 'Frank Pagliughi' <fpagliughi@xxxxxxxxxxxxxx>; General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Subject: RE: [paho-dev] MQTT C++ Client options

 

Thanks Frank.

 

Just to inform you that I was able to compile it for both x86 and ARM today.

 

Will continue testing it and will get back to you in case need some help.

 

Regards

Pankaj

 

From: Frank Pagliughi [mailto:fpagliughi@xxxxxxxxxxxxxx]
Sent: Tuesday, October 23, 2018 5:16 PM
To: Kumar, Pankaj <pankaj_kumar2@xxxxxxxxxx>; General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] MQTT C++ Client options

 

There should be no trouble getting it working on an A7 with Yocto. I know of several people who have incorporated Paho C++ into a Yocto build, but unfortunately, no one has contributed those builds back to the project. I hope to do it eventually, but it's not very high on my list at the moment.

Frank

On 10/22/18 2:27 AM, Kumar, Pankaj wrote:

Hi Frank,

 

Could you please compile MQTT C++ code base and provide static library (one lib if possible) for below target platform.

 

OS: Digi Embedded Yocto Linux

CPU: ARM Cortex-A7 @900 MHz

Kernel Version: Linux ccimx6ulsbc 4.1.41-dey+gf1a146c #2 SMP PREEMPT Mon Apr 23 10:32:20 EDT 2018 armv7l GNU/Linux

 

My need from this library is as following:

  • It should compile/run for Ubuntu X86_64 (required for development purpose). I have compiled and tested for it and it works !!!
  • It should also compile/run for embedded environment (as above). This is where I need help.  

 

Only if it compiles and runs for embedded environment then only we can consider this as an option for our production.

 

Regarding hiring you for support, I am in discussion with management and will get back to you.

 

Regards

Pankaj  

 

From: Frank Pagliughi [mailto:fpagliughi@xxxxxxxxxxxxxx]
Sent: Thursday, October 18, 2018 8:20 PM
To: Kumar, Pankaj <pankaj_kumar2@xxxxxxxxxx>; General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] MQTT C++ Client options

 

CMake is now the preferred method for compiling.

What are you trying with ARM that is failing? Please post specific error messages. If something appears to be a bug, please raise an Issue on the GitHub site:
https://github.com/eclipse/paho.mqtt.cpp/issues

That is preferred for specific problems, rather than e-mail to the group.

Are you compiling natively on an ARM platform, or trying to cross-compile?  If cross, what host? What target?

Frank

On 10/18/18 4:59 AM, Kumar, Pankaj wrote:

Hi Frank,

 

Today, I started compiling C++ MQTT source code and was able to successfully compile and test it for x86 architecture. (Using Cmake option)

However, for ARM architecture I am still not successful and need your help. Can you please help me with the steps on how to compile it for ARM ?

 

Also, please help me with what is the best way from following options if I am looking to compile it for multiple platforms (x86, ARM).

  • CMake
  • Autotools
  • GNU Make

Regards

Pankaj

 

From: paho-dev-bounces@xxxxxxxxxxx [mailto:paho-dev-bounces@xxxxxxxxxxx] On Behalf Of Kumar, Pankaj
Sent: Monday, October 8, 2018 11:15 AM
To: Frank Pagliughi <fpagliughi@xxxxxxxxxxxxxx>; General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Subject: Re: [paho-dev] MQTT C++ Client options

 

Thanks Frank.

Appreciate the quick response !!!

 

Regards

Pankaj

 

From: Frank Pagliughi [mailto:fpagliughi@xxxxxxxxxxxxxx]
Sent: Friday, October 5, 2018 6:12 PM
To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>; Kumar, Pankaj <pankaj_kumar2@xxxxxxxxxx>
Subject: Re: [paho-dev] MQTT C++ Client options

 

Answers inline...

On 10/05/2018 06:37 AM, Kumar, Pankaj wrote:

 

  • Can we use it for commercial purpose ?


Yes. The terms of the license are listed on the GitHub page.
https://github.com/eclipse/paho.mqtt.cpp


 

  • Does this library have any third party library dependency ?


It is a wrapper around the Paho C library.
https://github.com/eclipse/paho.mqtt.c

That library is also required.


  • If we run into issues in future (e.g., memory corruption within the library), do we get stuck waiting for the community to fix the issue? Is there is a commercial support available?


I'm the author, running a software consulting company, and available for hire. If there is any support that you require with particular time constraints, you can contact me directly at this e-mail address.


  • Currently, it supports MQTT 3.1.1, what is the roadmap for supporting MQTT 5.0 ?


MQTT 5.0 and WebSocket support should be complete by the end of the year.


 

  • Where can I find the list of outstanding issue, if there are any ?


On the GitHub page, under "Issues":
https://github.com/eclipse/paho.mqtt.cpp/issues


Frank Pagliughi
SoRo Systems, Inc

 

 



_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/paho-dev