au wot hackathon0314 test program
Dependencies: NySNICInterface mbed-rtos mbed
Fork of RESTServer_team4 by
Diff: HTTPServer.cpp
- Revision:
- 2:2f187e09bdb0
- Parent:
- 1:e821c773d5f0
- Child:
- 5:70c9f6045f2d
diff -r e821c773d5f0 -r 2f187e09bdb0 HTTPServer.cpp --- a/HTTPServer.cpp Sun Feb 15 00:18:07 2015 +0000 +++ b/HTTPServer.cpp Sun Feb 15 00:54:43 2015 +0000 @@ -1,7 +1,7 @@ #include "HTTPServer.h" #include "mbed.h" -#include "parse_request.h" +#include "control_motors.h" bool cmp(char* a, char* b) @@ -94,9 +94,7 @@ reply[0] = '\0'; response_code = HTTP_404_NOTFOUND; -// 追加 20150214 - printf("%s\n",request); - + // リクエストされたURLをパースしてモーターを制御 parse_request(request);