# Import Mosquitto.h in Legato

**URL:** https://mangoh.discourse.group/t/import-mosquitto-h-in-legato/10100
**Category:** Uncategorized
**Created:** [September 1, 2022, 10:17am UTC](https://mangoh.discourse.group/t/import-mosquitto-h-in-legato/10100 "2022-09-01T10:17:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![antoniobuono](https://avatars.discourse-cdn.com/v4/letter/a/8e8cbc/32.png) [@antoniobuono](https://mangoh.discourse.group/u/antoniobuono)
#### Post date: [September 1, 2022, 10:17am UTC](https://mangoh.discourse.group/t/import-mosquitto-h-in-legato/10100/1 "2022-09-01T10:17:15Z")

</div>

Good morning everyone.  
Is there a way to import the mosquitto.h library inside legato?  
I need to create a subscriber using the functions of the mosquitto.h library.  
Thanks in advance.

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/jyijyi/32/997_2.png) [@jyijyi](https://mangoh.discourse.group/u/jyijyi)
#### Post date: [September 1, 2022, 10:59am UTC](https://mangoh.discourse.group/t/import-mosquitto-h-in-legato/10100/2 "2022-09-01T10:59:56Z")

</div>

does this help?

> [@mqttClient Service Connect error?](https://mangoh.discourse.group/t/mqttclient-service-connect-error/9093/88):
>
> Finally problem resolved: using mosquitto MQTT client and server must to be on the same wlan! I didn’t know it! The problem is that my wifi is 5G and my TaLON wifi card doesn’t read it: so my mangOH was on my phone’s lan and PC on WiFi. So I connected all on my phone’s lan and all work! Thank you all for the support, especially to @jyijyi . I’m so sorry to have bothered you, but it was a frustrating situation. Thanks again.
