Controlling GPIO FXT009 via HTTP request

Hi,

I just received my first Sierra Wireless modern, the FXT009. I would like to remotely control the GPIO ports via a HTTP request from my server, but I am stuck right now.

What I did already;

-Changed the APN and let the device connect to the network
-Linked the device to Airvantage, the device is recognized by Airvantage.
-Send AT commands via the terminal in OS X, all fine
-Changed the ports to output and change the voltages

I have downloaded the Open AT framework but I am not very sure what to do right now. I tried the hello World example, but the interface is different compared to the video and the modem is not recognised in Eclipse (USB connection in virtualbox on OS X, the modem is recognised by Windows and drivers are installed)

I also tried the DeveloperSuite for OS X, but not sure if this is the right approach. This would mean an extra platform in between that I really don’t need for this ‘simple’ setup. I would like to connect directly to the devices.

I am thinking to make the devices create a VPN connection to my server (because of dynamic IP). So when they are connected I can check the status of the 2 I/O ports and change the voltages by a simple http request.

Can anyone give me some directions? I also prefer to do everything by USB connection on OS X if possible.

Thanks

You can’t do that :exclamation:

It’s the Client (eg, a Browser) which makes the requests to the Server!

That’s how HTTP (in fact, any Client-Server architecture) works - it’s nothing specific to the FXT, or Sierra Wireless, or GSM/GPRS.

jmarshall.com/easy/http/

Hi ilogics,

Can you share your full use case so that we can assist you better? (in private if confidential)
Also, I would like to point you out to some our “high-end” portfolio (eg. Raven XE), as these terminals natively supports remote activation of GPIO … You wouldn’t need to develop anything if you were using those :slight_smile:

Let us know how we can help!

Cheers
Gillo