# MangOH Red Without Airvantage Portal Communication

**URL:** <https://mangoh.discourse.group/t/mangoh-red-without-airvantage-portal-communication/1967>\
**Category:** Cloud & Connectivity\
**Created:** [October 2, 2018, 7:10am UTC](https://mangoh.discourse.group/t/mangoh-red-without-airvantage-portal-communication/1967 "2018-10-02T07:10:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MelvinWiegman](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@MelvinWiegman](https://mangoh.discourse.group/u/MelvinWiegman)\
**Post date:** [October 2, 2018, 7:10am UTC](https://mangoh.discourse.group/t/mangoh-red-without-airvantage-portal-communication/1967/1 "2018-10-02T07:10:34Z")

</div>

Hey there everybody,

I’m using the mangOH Red board With the WP7702 module and the SierraWireless SIM.  
At this moment i have a self made application that communicates with the Airvantage portal through HTTP requests to control the MangOH Red light and get the same data as the RedSensorToCloud app example.

Now i’m wondering is there a way to not use the Airvantage Portal and talk directly to a private server from the MangOH red board?

My questions:

-Are there any example applications to accomplish this?  
-What are the different communication technologies i could use next to HTTP?  
-Is it even possible with the Legato framework?  
-And is there a way to do this with the new LPWA technologies of the WP7702 module?

---

<div class="post-metadata">

**Author:** ![awneil](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/awneil/32/486_2.png) [@awneil](https://mangoh.discourse.group/u/awneil)\
**Post date:** [October 2, 2018, 1:21pm UTC](https://mangoh.discourse.group/t/mangoh-red-without-airvantage-portal-communication/1967/2 "2018-10-02T13:21:05Z")

</div>

At the end of the say, an IP link neither knows nor cares what data you’re sending over it, nor where you’re sending it.

😀

---

<div class="post-metadata">

**Author:** ![MelvinWiegman](https://avatars.discourse-cdn.com/v4/letter/m/c67d28/32.png) [@MelvinWiegman](https://mangoh.discourse.group/u/MelvinWiegman)\
**Post date:** [October 8, 2018, 8:18am UTC](https://mangoh.discourse.group/t/mangoh-red-without-airvantage-portal-communication/1967/3 "2018-10-08T08:18:18Z")

</div>

That’s why i’m asking for code examples how to accomplish this?

Also wondering if there is a way to talk directly to the mangOH Red device without portal communication?

Do i need a http server on the mangOH Red to do this?

---

<div class="post-metadata">

**Author:** ![awneil](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/awneil/32/486_2.png) [@awneil](https://mangoh.discourse.group/u/awneil)\
**Post date:** [October 8, 2018, 8:23am UTC](https://mangoh.discourse.group/t/mangoh-red-without-airvantage-portal-communication/1967/4 "2018-10-08T08:23:32Z")

</div>

curl has been mentioned previously.

What do you mean by, “directly” ?  
mangOH Red has several comms interfaces - both wired and wireless…

EDIT  
from a forum search for “http”:

> [@httpGET sample code](https://mangoh.discourse.group/t/httpget-sample-code/1768):
>
> Any working sample code of using http GET-request?

> [@httpServer installation](https://mangoh.discourse.group/t/httpserver-installation/1421):
>
> I tried installing the httpServer on my Legato wp76xx but seems to not be working correctly. I read the readme and presumed that just by typing “make” inside the terminal when one is under the httpServer folder then the make script would just download and create all necessary files, that seems to not be the case, so I attempted to do it manually but no sucess, for example when typing : CCFLAGS="-DDEBUG -g" CC=$WP85\_TOOLCHAIN\_DIR/arm-poky-linux-gnueabi-gcc RANLIB=$WP85\_TOOLCHAIN\_DIR/arm-poky-lin…
