![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
easy connect wnc added to http request with debug mode enabled. traces collected for AT%CGEQOS, AT%MEAS, AT%PCONI
Dependencies: easy-connect-httpmodified mbed-http
Fork of http-example-wnc-modified by
Diff: source/main-http.cpp
- Revision:
- 20:1c3499729772
- Parent:
- 14:3c173847e681
- Child:
- 21:92bdf75ae72b
--- 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.