Now if the campus login form that appears in your web browser uses the POST method to send data to the web server then you are in trouble because, as far as I have been able to determine, arduino wifi shields + arduino libraries can’t handle POST data, they can ONLY handle GET data like the above. GET /program.htm?username=XXXXXXX&password=YYYYYYHTTP/1.1 So the http data you need to send will look something like this: Well basically, once the arduino has logged into the WiFi network, you will need to send form data to get past the campus login. Serial.println("Couldn't get a wifi connection") Serial.println("Attempting to connect to WPA network.") Any help would be greatly appreciated.Ĭhar ssid = "myNetwork" // your network SSID (name)Ĭhar pass = "myPassword" // your network password we've tried using both a wifi shield and an ethernet shield, and our best guess is that we need to add another line of code into the following code referring to the user name. While this is very easy to do on a laptop, we've been having a lot of trouble coding this into the arduino. ![]() I'm part of a group project in which we're trying to connect an arduino to a wifi network requiring you to input a username as well as password and network name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |