各ピンへのread/writeを提供するサーバサンプル

Dependencies:   NySNICInterface mbed-rtos mbed

Fork of RESTServerSample2 by KDDI Fx0 hackathon

Files at this revision

API Documentation at this revision

Comitter:
komoritan
Date:
Thu Mar 12 12:40:48 2015 +0000
Parent:
0:998e2e00df0c
Commit message:
Bug fix - handle_request

Changed in this revision

HTTPServer.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HTTPServer.cpp	Tue Feb 10 12:15:47 2015 +0000
+++ b/HTTPServer.cpp	Thu Mar 12 12:40:48 2015 +0000
@@ -91,7 +91,9 @@
     reply[0] = '\0';
     response_code = HTTP_404_NOTFOUND;
 
-    if(!object.decode(request, reply)){
+//    if(!object.decode(request, reply)){
+    if(object.decode(request, reply)){
+        printf("decode failed");
         return;
     }