Https://github.com/br-automation-com/paho.mqtt.c-ar for AS6

Hello,

I used this library in a project:

However, I just realized that it is not compatible with Automation Studio 6.

If I understand correctly, this library somehow originates from B&R. Does anyone know if there will be an update soon?

Steffen

Hi Steffen,

The projects published on the B&R GitHub are not officially supported by B&R, even if they are created by B&R employees. This page is just a way to share helpful projects or sample code. Unless you hear differently, it’s safest to assume that this library will not be updated beyond what exists currently. That being said, perhaps one of the developers sees this post and can correct me!

You are always welcome to adapt and change the sample code to your own needs, including updating it to work with AS 6. The cleanest way to do this is to fork the repository and make the required changes in your own copy. If you’d like to contribute those changes back to the main repository, you can then make a pull request. In this case, it looks like the libraries were posted to GitHub in binary format, so you wouldn’t be able to edit them. But I wanted to include this note for any other libraries you may come across in the future.

1 Like

I think to add support for new ARs you need to have the internal -dev repository which is not accessible for the public?! So nobody but B&R employees can update it for AS6 compatibility I guess.

Best Regards!

Has there been any update on this? We are looking to implement MQTT and found the Paho library. We haven’t switched to AS6.0 yet, but this would be another reason for us not to switch over.

@patric.thysell, @fabian.pries, can the github repo be updated with the library in a non-binary format, so that others can rebuild for 6.0?

1 Like

On the Github repo see issue 33:
Issues · br-automation-com/paho.mqtt.c-ar

At the current state the library cant be opensource but this is on our list.

2 Likes

I am on it, it is more than just open-sourcing the library though, there are several repositories included in the making of the iotmqtt library which need to be opened up and reworked for the new compiler and AS6. As mentioned, I am on that topic, and I hope to have it ready and working before too long.

6 Likes