I need to create web server on fastrack supreme. It has to be on http level (similar to http client example provided with a M2M studio). General idea is to connect remotely to wavecom module using a web browser (firefox) and then get a response from a module (simple web page form).
Any suggestions?
Check out the tcp_server example in the WIP plugin directory.
You will have to write your own HTTP handling routines though - I strongly recommend that you read (and understand) HTTP made really easy before starting the HTTP part.
That said - it’s relatively straight forward - I’ve done it on a Q2686H.
BUT, if you cant get a PUBLIC ip address from your ISP (i.e. an address that doesn’t start with 10.x.x.x (/8) or 172.16.x.x (/12) or 192.168.x.x (/16)) you are hosed before you begin. Most mobile networks I have worked on do NOT provide public/routable IP addresses - there simply aren’t enough IPV4 addresses left to provide one to every mobile phone.
You don’t really require a static IP address if you can use one of the Dynamic DNS providers to map the current IP address to a fixed domain name. I used DynDNS to do this - writing the DDNS client was pretty trivial.
If you are writing a server to listen on the Ethernet interface provided by the IESM card for the Supreme, the above doesn’t really apply, as you have control of your local ethernet network.