Netduino - WiFi
#41
Posted 16 August 2012 - 09:12 AM
#42
Posted 23 September 2012 - 02:46 AM
#43
Posted 27 September 2012 - 03:27 AM
Hi everybody.
Here is the order you have to enter the commands to connect the GS1011 to your network:
"AT+WM=0\r", "AT+NDHCP=1\r", "AT+WAUTH=0\r", "AT+WSEC=8\r", "AT+WWPA=344556\r","AT+WA=AndroidAp\r"
These are for a network which is a WPA2-Personal, with SSID "AndroidAp" and password "344556".
The parameters for other configurations are available in the command reference.
I am having problems to deal with the response of the command GET, when connecting to a host using HTTP.
The module simply stops working.
Should it be the server response's format? The length?
Any ideas or experience about it would be very welcome!
Thanks,
Mariana C.
I found out what was going on.
Some commands are necessary in order to receive a GET response.
Those worked for me:
"at+httpconf=20,User-Agent: Mozilla/5.0\r"
"at+httpconf=3, close\r" (if you want your connection to remain, instead of close: keep-alive)
"at+httpconf=11,<host>\r" (<host> here is like site.com.br)
And then finally:
"at+httpopen=<host>\r"
"at+httpsend=0,1,10,<afterhost>\r" (<afterhost> is the part after the .com.br, beginning with "/")
Yey, hope this helps somebody. o/
#44
Posted 19 March 2014 - 07:03 PM
Hi,
Does anyone still have the code that was on this thread or any code to get the gainspan module working?
Many thanks
Andy
#45
Posted 18 April 2014 - 09:10 AM
Somebody should make a wrapper class and put it on CodePlex love to play with this too!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users