各ピンへのread/writeを提供するサーバサンプル
Dependencies: NySNICInterface mbed-rtos mbed
Fork of RESTServerSample2 by
Revision 1:e5d3bd4af9da, committed 2015-03-12
- 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; }