Integrating the ublox LISA C200 modem

Fork of SprintUSBModemHTTPClientTest by Donatien Garnier

Files at this revision

API Documentation at this revision

Comitter:
sam_grove
Date:
Tue Oct 01 21:39:27 2013 +0000
Parent:
12:dbae95c536b3
Child:
14:cd53f77f8afe
Commit message:
Tested a few different URL's

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Sep 30 17:49:48 2013 -0500
+++ b/main.cpp	Tue Oct 01 21:39:27 2013 +0000
@@ -3,6 +3,9 @@
 #include "HTTPClient.h"
 
 char const *msg = "need another reason to merge\n";
+//char const *URL = "http://mbed.org/";
+//char const *URL = "https://www.google.com/";
+char const *URL = "http://httpbin.org/ip";
 
 void test(void const*) 
 {
@@ -24,7 +27,7 @@
     
     //GET data
     printf("Trying to fetch page...\r\n");
-    ret = http.get("http://mbed.org/media/uploads/donatien/hello.txt", str, 128);
+    ret = http.get(URL, str, 128);
     if (!ret)
     {
       printf("Page fetched successfully - read %d characters\r\n", strlen(str));