Creating an IoT platform for smart agriculture. Collecting data and sending them to thingspeak for analysis

Dependencies:   DHT11 LPS22HB LSM6DSL VL53L0X

Committer:
kaoriw
Date:
Fri Jun 08 12:16:19 2018 +0000
Revision:
1:469ea8167b80
Parent:
0:07ff689741d2
Uncomplete

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kaoriw 0:07ff689741d2 1 #ifndef TS_H
kaoriw 0:07ff689741d2 2 #define TS_H
kaoriw 0:07ff689741d2 3
kaoriw 0:07ff689741d2 4
kaoriw 0:07ff689741d2 5 #include "TCPSocket.h"
kaoriw 0:07ff689741d2 6 #include "ISM43362Interface.h"
kaoriw 0:07ff689741d2 7
kaoriw 0:07ff689741d2 8 /* Interface setting */
kaoriw 0:07ff689741d2 9 ISM43362Interface wifi(false);//MBED_CONF_APP_WIFI_SPI_MOSI, MBED_CONF_APP_WIFI_SPI_MISO, MBED_CONF_APP_WIFI_SPI_SCLK, MBED_CONF_APP_WIFI_SPI_NSS, MBED_CONF_APP_WIFI_RESET, MBED_CONF_APP_WIFI_DATAREADY, MBED_CONF_APP_WIFI_WAKEUP, false);
kaoriw 0:07ff689741d2 10
kaoriw 0:07ff689741d2 11 /* Functions */
kaoriw 0:07ff689741d2 12 const char *sec2str(nsapi_security_t sec);
kaoriw 0:07ff689741d2 13 int scan_demo(WiFiInterface *wifi);
kaoriw 0:07ff689741d2 14 void send_values(char* urlBuffer);
kaoriw 0:07ff689741d2 15
kaoriw 0:07ff689741d2 16
kaoriw 0:07ff689741d2 17 #endif