test program of http server
Dependencies: mbed mbed-rtos EthernetInterface HTTP_SERVER
Revision 0:2a0ad778ce0f, committed 2020-10-21
- Comitter:
- aktk
- Date:
- Wed Oct 21 19:29:00 2020 +0000
- Commit message:
- verified as it works on 06 dec 2016
Changed in this revision
diff -r 000000000000 -r 2a0ad778ce0f EthernetInterface.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/EthernetInterface.lib Wed Oct 21 19:29:00 2020 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/mbed_official/code/EthernetInterface/#183490eb1b4a
diff -r 000000000000 -r 2a0ad778ce0f HTTP_SERVER.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HTTP_SERVER.lib Wed Oct 21 19:29:00 2020 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/aktk/code/HTTP_SERVER/#84aca9965f9f
diff -r 000000000000 -r 2a0ad778ce0f main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 21 19:29:00 2020 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +#include "HTTP_SERVER.h" +int main() +{ + HttpServer httpsvr; + if(httpsvr.init()){ + if(httpsvr.run() == 0) + printf("end\r\n"); + else + printf("error end\r\n"); + } + return 0; +} \ No newline at end of file
diff -r 000000000000 -r 2a0ad778ce0f mbed-rtos.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-rtos.lib Wed Oct 21 19:29:00 2020 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/mbed_official/code/mbed-rtos/#58563e6cba1e
diff -r 000000000000 -r 2a0ad778ce0f mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Oct 21 19:29:00 2020 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/d75b3fe1f5cb \ No newline at end of file