Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Netduino - WiFi


  • Please log in to reply
44 replies to this topic

#41 Crenial

Crenial

    New Member

  • Members
  • Pip
  • 1 posts

Posted 16 August 2012 - 09:12 AM

Hi, Could you please re-upload the code? Thanks, Crenial

#42 maricbr

maricbr

    New Member

  • Members
  • Pip
  • 2 posts

Posted 23 September 2012 - 02:46 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.

#43 maricbr

maricbr

    New Member

  • Members
  • Pip
  • 2 posts

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 mcinnes01

mcinnes01

    Advanced Member

  • Members
  • PipPipPip
  • 325 posts
  • LocationManchester UK

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 Tobias Vandenbempt

Tobias Vandenbempt

    Advanced Member

  • Members
  • PipPipPip
  • 32 posts
  • LocationGenth, Belgium

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

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.