# Mosquitto+AirVatage+MqttClient on mangOH Green with wp7607?

**URL:** <https://forum.sierrawireless.com/t/mosquitto-airvatage-mqttclient-on-mangoh-green-with-wp7607/23399>\
**Category:** Connectivity and Cloud Services\
**Created:** [April 12, 2021, 8:16am UTC](https://forum.sierrawireless.com/t/mosquitto-airvatage-mqttclient-on-mangoh-green-with-wp7607/23399 "2021-04-12T08:16:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.sierrawireless.com/u/ga.imparato)\
**Post date:** [April 12, 2021, 8:16am UTC](https://forum.sierrawireless.com/t/mosquitto-airvatage-mqttclient-on-mangoh-green-with-wp7607/23399/1 "2021-04-12T08:16:54Z")

</div>

Hi 😀  
I’m working for the first time with mangOH green.  
I am having a little difficulty in understanding how communication with Mosquitto MQTT broker works. In particular, I did not understand how to send messages and especially how to program and put together the three elements:

- Mosquitto
- MqttClient based on Paho
- AirVantage (which could be used as a broker?).  
Could you by any chance be kind enough to explain to me how these elements interact with each other? Have I to work in the paho-based folder?  
[GitHub - mangOH/MqttClient at use\_paho\_linux\_version](https://github.com/mangOH/MqttClient/tree/use_paho_linux_version)

I installed Mosquitto on my virtual machine, I also made some small pub / sub applications, but I really don’t know how to use it in a larger project. I also registered my mangOH device on AirVantage. I would also be very happy if you knew of any tutorials. Thank you very much for your attention and again sorry for the inconvenience.

---

<div class="post-metadata">

**Author:** ![jerdung](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jerdung](https://forum.sierrawireless.com/u/jerdung)\
**Post date:** [April 12, 2021, 9:56am UTC](https://forum.sierrawireless.com/t/mosquitto-airvatage-mqttclient-on-mangoh-green-with-wp7607/23399/2 "2021-04-12T09:56:00Z")

</div>

Hi ga.imparato,

> AirVantage (which could be used as a broker?).

As I know, AirVantage exposes an MQTT broker on port 1883.

There is also an tutorial published in Airvantage page. Could you take a look at it?

[https://doc.airvantage.net/av/howto/hardware/samples/generic-mqtt/](https://doc.airvantage.net/av/howto/hardware/samples/generic-mqtt/)

Thanks,

---

<div class="post-metadata">

**Author:** ![ga.imparato](https://avatars.discourse-cdn.com/v4/letter/g/c89c15/32.png) [@ga.imparato](https://forum.sierrawireless.com/u/ga.imparato)\
**Post date:** [April 16, 2021, 1:25pm UTC](https://forum.sierrawireless.com/t/mosquitto-airvatage-mqttclient-on-mangoh-green-with-wp7607/23399/3 "2021-04-16T13:25:01Z")

</div>

It seems not too difficult to use, also if my supervisors recommended me Mosquitto broker: could be also simple to use it?
