simple http request (temperature data) from mbed lpc1768 with application board to thingsboard device/dashboard
Fork of http-example by
Diff: source/main-https-chunked-request.cpp
- Revision:
- 29:5ad8f931e4ff
- Parent:
- 25:a8be9f3a530c
--- a/source/main-https-chunked-request.cpp Tue Mar 27 11:13:48 2018 +0200
+++ b/source/main-https-chunked-request.cpp Tue Mar 27 11:57:33 2018 +0200
@@ -11,8 +11,6 @@
#include "https_request.h"
#include "easy-connect.h"
-Serial pc(USBTX, USBRX);
-
/* List of trusted root CA certificates
* currently one: Comodo, the CA for reqres.in
*
@@ -69,8 +67,6 @@
}
int main() {
- pc.baud(115200);
-
NetworkInterface* network = easy_connect(true);
if (!network) {
return 1;
