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
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
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).
Regards
Pankaj
Thanks Frank.
Appreciate the quick response !!!
Regards
Pankaj
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