cancel
Showing results for 
Search instead for 
Did you mean: 

SPWF01SA HTTP Request

Roma Jam
Associate II
Posted on November 19, 2014 at 14:43

Hello everybody!

It is interesting to me to make an electronic device which can receive data from the mobile devices (e.g. Mobile Phone or Computer). The main idea is to send data to electronic device by using the html web page and internal browser of the mobile device. So I bought module SPWF01SA.

Using the reference manual to the SPWF module I understood that it can working in two modes which is interesting to me. Either the Mini AP mode or a IBSS mode.

In the IBSS mode i can use the HTML web pages was writed in internal memory (like an output_demo.html) and to send the string to my SPWF module and get it by the UART port. Yes I done it.

But my question is next.

Is there any ways to get raw HTTP request from the client to my server (either in IBSS mode or miniAP mode) by the UART (or SPI)?

Hope, somebody can help me or say smth interesting about this. 

Grazie!

#spwf01sa #wifi
11 REPLIES 11
Roma Jam
Associate II
Posted on November 20, 2014 at 18:35

Yes, indeed I sent reply like a single shot string.

''I mean, when you are in data mode, messages are sent on every timeout is found from the module.'' - what message do you mean? Message from SPWF module to the client browser? Or what?

If yes, I saw it. When I typing something characters in my terminal TX window this content appears in browser with timeout and by packs. 

Yes, <CR> and <LF> is an abbreviation from Carriage Return and Line Feed, I know :) Indeed I send 0x0D and 0x0A. Or '\r' and '\n'.

 Max length of reply message it's interesting, thanks for information!

Now I'm starting to write firmware for external controller to parse AT msgs and control the other electronics.

No problem what you out of office, anyway thank you so much for support!

Posted on November 22, 2014 at 19:12

With ''messages'' I mean bytes which are sent over UART to the SPWF when it's in DataMode.

Let me know if you are in trouble with socket server Command/Data mode.

j