Just testing things, based off of http-example-wnc
Dependencies: easy-connect mbed-http
Fork of http-example-wnc by
Diff: source/main-http.cpp
- Revision:
- 20:1c3499729772
- Parent:
- 14:3c173847e681
diff -r 0859fa46f32a -r 1c3499729772 source/main-http.cpp --- a/source/main-http.cpp Sun Apr 23 18:40:19 2017 +0000 +++ b/source/main-http.cpp Mon Nov 13 18:53:10 2017 +0000 @@ -21,12 +21,17 @@ int main() { pc.baud(115200); // Connect to the network (see mbed_app.json for the connectivity method used) + while(1) { + printf("Hello?\n"); + } NetworkInterface *network = easy_connect(true); if (!network) { printf("Cannot connect to the network, see serial output"); return 1; } + printf("See if it gives any debug info"); + // Do a GET request to httpbin.org { // By default the body is automatically parsed and stored in a buffer, this is memory heavy.