modified to get more signal info
Dependencies: easy-connect mbed-http
Fork of http-example-wnc-modified by
Diff: source/main-http.cpp
- Revision:
- 20:1c3499729772
- Parent:
- 14:3c173847e681
- Child:
- 21:3793f52f2e05
--- 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.
