Integrating the ublox LISA C200 modem
Fork of SprintUSBModemHTTPClientTest by
Diff: main.cpp
- Revision:
- 19:f1d893c651e5
- Parent:
- 14:cd53f77f8afe
- Child:
- 20:39772b740985
--- a/main.cpp Tue Oct 01 17:22:34 2013 -0500 +++ b/main.cpp Tue Oct 01 17:36:06 2013 -0500 @@ -35,14 +35,14 @@ sprintf(json_str, "{\"id\":\"test\",\"ax\":%d,\"ay\":%d,\"az\":%d, \"tmp\":%d}", i, i, i, i); // send str ws.send(json_str); - wait(1.0f); + wait(0.5f); memset(json_str, 0, 100); if (ws.read(json_str)) { printf("rcv: %s\r\n", json_str); } } - + ws.close(); //GET data printf("Trying to fetch page...\r\n");